diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-04 16:47:56 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 17:10:22 +0100 |
commit | 25b3d554c4403b3b63f58cea6f0fc0cf3232a1c0 (patch) | |
tree | d74b0ff17a352230911b0ed9298055ef04fd633c /src/gallium/drivers/trace/tr_dump.c | |
parent | 34782eec31d66e6392390fdf47b1860af08bcde6 (diff) |
gallium/drivers: Trivial code-style cleanup
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index 601e2cbbec5..b173b8abf89 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -218,7 +218,7 @@ trace_dump_tag_end(const char *name) void trace_dump_trace_flush(void) { - if(stream) { + if (stream) { fflush(stream); } } @@ -226,7 +226,7 @@ trace_dump_trace_flush(void) static void trace_dump_trace_close(void) { - if(stream) { + if (stream) { trace_dump_writes("</trace>\n"); if (close_stream) { fclose(stream); @@ -257,10 +257,10 @@ trace_dump_trace_begin(void) const char *filename; filename = debug_get_option("GALLIUM_TRACE", NULL); - if(!filename) + if (!filename) return FALSE; - if(!stream) { + if (!stream) { if (strcmp(filename, "stderr") == 0) { close_stream = FALSE; |