Commit e03141db authored by Dan Carpenter's avatar Dan Carpenter Committed by Arnaldo Carvalho de Melo

perf jit: Add missing curly braces

It doesn't change the runtime behavior, but my static checker complains
that curly braces were intended.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: kernel-janitors@vger.kernel.org
Link: http://lkml.kernel.org/r/20160715210712.GA19522@mwandaSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 09211e25
...@@ -491,10 +491,11 @@ jvmti_write_debug_info(void *agent, uint64_t code, const char *file, ...@@ -491,10 +491,11 @@ jvmti_write_debug_info(void *agent, uint64_t code, const char *file,
if (sret != 1) if (sret != 1)
goto error; goto error;
} }
if (padding_count) if (padding_count) {
sret = fwrite_unlocked(pad_bytes, padding_count, 1, fp); sret = fwrite_unlocked(pad_bytes, padding_count, 1, fp);
if (sret != 1) if (sret != 1)
goto error; goto error;
}
funlockfile(fp); funlockfile(fp);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment