Skip to content

Commit

Permalink
decode_value: Work around a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldin committed Feb 18, 2023
1 parent 7afb3c9 commit 782f6fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4421,13 +4421,12 @@ static void decode_value2(struct decode_data *data)
});
if (func.offset != -1) {
#ifdef ENCODE_DEBUG
int old_a_flag;
int old_a_flag = a_flag;
#endif
EDB(2,
{
fprintf(stderr, "%*sDecoding portable bytecode.\n",
data->depth, "");
old_a_flag = a_flag;
a_flag = (a_flag > (data->debug-1))?a_flag:(data->debug-1);
});
func.offset = decode_portable_bytecode(data, func.offset);
Expand Down

0 comments on commit 782f6fa

Please sign in to comment.