~fsx/protobluff

d90cb5a89d9a66114a552953cb69fe6e47b5a1ea — Frank Smit 10 months ago 92d2dae
Don't return in void func.
1 files changed, 3 insertions(+), 3 deletions(-)

M src/generator/message.cc
M src/generator/message.cc => src/generator/message.cc +3 -3
@@ 290,7 290,7 @@ namespace protobluff {
      "    pb_decoder_t *decoder) {\n"
      "  assert(pb_decoder_descriptor(decoder) == \n"
      "    &`message`_descriptor);\n"
      "  return pb_decoder_destroy(decoder);\n"
      "  pb_decoder_destroy(decoder);\n"
      "}\n"
      "\n");



@@ 343,7 343,7 @@ namespace protobluff {
      "    pb_encoder_t *encoder) {\n"
      "  assert(pb_encoder_descriptor(encoder) == \n"
      "    &`message`_descriptor);\n"
      "  return pb_encoder_destroy(encoder);\n"
      "  pb_encoder_destroy(encoder);\n"
      "}\n"
      "\n");



@@ 389,7 389,7 @@ namespace protobluff {
      "    pb_message_t *message) {\n"
      "  assert(pb_message_descriptor(message) == \n"
      "    &`message`_descriptor);\n"
      "  return pb_message_destroy(message);\n"
      "  pb_message_destroy(message);\n"
      "}\n"
      "\n");