Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
d73ca481
Commit
d73ca481
authored
9 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
fix compilation with VS2010
parent
37233e63
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/core/compression/algorithm.c
+2
-0
2 additions, 0 deletions
src/core/compression/algorithm.c
src/core/surface/byte_buffer.c
+1
-0
1 addition, 0 deletions
src/core/surface/byte_buffer.c
src/core/surface/call.c
+1
-0
1 addition, 0 deletions
src/core/surface/call.c
with
4 additions
and
0 deletions
src/core/compression/algorithm.c
+
2
−
0
View file @
d73ca481
...
@@ -101,6 +101,7 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
...
@@ -101,6 +101,7 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
default:
default:
/* we shouldn't be making it here */
/* we shouldn't be making it here */
abort
();
abort
();
return
GRPC_COMPRESS_NONE
;
}
}
}
}
...
@@ -116,6 +117,7 @@ grpc_compression_level grpc_compression_level_for_algorithm(
...
@@ -116,6 +117,7 @@ grpc_compression_level grpc_compression_level_for_algorithm(
}
}
}
}
abort
();
abort
();
return
GRPC_COMPRESS_LEVEL_NONE
;
}
}
void
grpc_compression_options_init
(
grpc_compression_options
*
opts
)
{
void
grpc_compression_options_init
(
grpc_compression_options
*
opts
)
{
...
...
This diff is collapsed.
Click to expand it.
src/core/surface/byte_buffer.c
+
1
−
0
View file @
d73ca481
...
@@ -97,4 +97,5 @@ size_t grpc_byte_buffer_length(grpc_byte_buffer *bb) {
...
@@ -97,4 +97,5 @@ size_t grpc_byte_buffer_length(grpc_byte_buffer *bb) {
}
}
gpr_log
(
GPR_ERROR
,
"should never reach here"
);
gpr_log
(
GPR_ERROR
,
"should never reach here"
);
abort
();
abort
();
return
0
;
}
}
This diff is collapsed.
Click to expand it.
src/core/surface/call.c
+
1
−
0
View file @
d73ca481
...
@@ -436,6 +436,7 @@ static grpc_cq_completion *allocate_completion(grpc_call *call) {
...
@@ -436,6 +436,7 @@ static grpc_cq_completion *allocate_completion(grpc_call *call) {
}
}
gpr_log
(
GPR_ERROR
,
"should never reach here"
);
gpr_log
(
GPR_ERROR
,
"should never reach here"
);
abort
();
abort
();
return
NULL
;
}
}
static
void
done_completion
(
grpc_exec_ctx
*
exec_ctx
,
void
*
call
,
static
void
done_completion
(
grpc_exec_ctx
*
exec_ctx
,
void
*
call
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment