mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 07:19:02 +08:00
0cb819175b
* Update gRPC to 1.46.3 and upb to 2022-06-01 * fix(upb): Ensure that protoc-gen-upb has been build before running protobuf_generate. Also add license to vcpkg.json * fix(upb): Let abseil propagate cxx_std_11. Build upb codegen tools in host triplet * Revert abseil's cxx_std propagation * fix(upb): Attempt to fix missing -std=c++11 flag when compiling x64-osx * Downgrade upb to the version used by gRPC. No longer installed generated descriptor.upb.h files just to use them when compiling target triplet * Remove absl-sync patch from gRPC since it is always enabled by default now * Use vcpkg's upb library in gRPC instead of embedded one. Also fix gRPC's pkgconfig patch * grpc: Remove the upb::all_libs target * grpc: Adjust versions json * upb: Adjust versions json * Set feature absl-sync as deprecated * version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
14 lines
474 B
Diff
14 lines
474 B
Diff
diff --git a/upb/json_decode.c b/upb/json_decode.c
|
|
index c4698f0..20226f5 100644
|
|
--- a/upb/json_decode.c
|
|
+++ b/upb/json_decode.c
|
|
@@ -1217,7 +1217,7 @@ static void jsondec_struct(jsondec* d, upb_Message* msg,
|
|
static void jsondec_wellknownvalue(jsondec* d, upb_Message* msg,
|
|
const upb_MessageDef* m) {
|
|
upb_MessageValue val;
|
|
- const upb_FieldDef* f;
|
|
+ const upb_FieldDef* f = 0;
|
|
upb_Message* submsg;
|
|
|
|
switch (jsondec_peek(d)) {
|