SHA256
1
0
forked from pool/grpc
grpc/grpc-no-return-from-non-void-function.patch
Jan Engelhardt 479b000ea2 Accepting request 963078 from home:badshah400:branches:devel:tools
* Update to version 1.45.0.
* Add grpc-no-return-from-non-void-function.patch to return a default string from a function defined to return a string.

OBS-URL: https://build.opensuse.org/request/show/963078
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=108
2022-03-23 14:43:00 +00:00

13 lines
402 B
Diff

Index: grpc-1.45.0/src/core/lib/transport/metadata_batch.h
===================================================================
--- grpc-1.45.0.orig/src/core/lib/transport/metadata_batch.h
+++ grpc-1.45.0/src/core/lib/transport/metadata_batch.h
@@ -530,6 +530,7 @@ struct GrpcStreamNetworkState {
case kNotSeenByServer:
return "not seen by server";
}
+ return "none";
}
};