Skip to content

Commit 70f5c77

Browse files
committed
Fold two fprintf statements together
The second fprintf outputs "\n" so it can be folded into the preceding fprintf call. Signed-off-by: Mark Stoodley <mstoodle@ca.ibm.com>
1 parent 48c18cb commit 70f5c77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/optimizer/DebuggingCounters.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ void TR_DebuggingCounters::report()
254254
}
255255
}
256256

257-
fprintf(output, "Compilation sum %d Dynamic sum %" OMR_PRIu64 " \n", (int32_t) compilationSum, dynamicSum);
258-
fprintf(output, "\n");
257+
fprintf(output, "Compilation sum %d Dynamic sum %" OMR_PRIu64 " \n\n", (int32_t) compilationSum, dynamicSum);
259258

260259
if (output != stdout)
261260
fclose(output);

0 commit comments

Comments
 (0)