diff options
author | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-25 13:48:06 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-25 13:48:06 +0300 |
commit | ecbf4c9a9a4d3a5ca9edef27a7f5b9f7b3a659ef (patch) | |
tree | da3dc24ca0a31a0df6020932ce2a7859d810e302 | |
parent | 5a69c8d3bf97c5729c2f38e3edf38ad072cc8660 (diff) | |
download | ydb-ecbf4c9a9a4d3a5ca9edef27a7f5b9f7b3a659ef.tar.gz |
Fix return value for non-void function. KIKIMR-14430
ref:2939ebfb850d02cc52877438f6e0139478e8dc59
-rw-r--r-- | ydb/library/yql/parser/pg_query_wrapper/wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/parser/pg_query_wrapper/wrapper.cpp b/ydb/library/yql/parser/pg_query_wrapper/wrapper.cpp index 64a458f0c66..db526b3f2ea 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/wrapper.cpp +++ b/ydb/library/yql/parser/pg_query_wrapper/wrapper.cpp @@ -150,7 +150,7 @@ void MyAllocSetFree(MemoryContext context, void* pointer) { void* MyAllocSetRealloc(MemoryContext context, void* pointer, Size size) { if (!size) { - return; + return nullptr; } void* ret = MyAllocSetAlloc(context, size); |