Module Name: src
Committed By: christos
Date: Tue Oct 11 15:10:17 UTC 2011
Modified Files:
src/external/gpl3/gdb/dist/gdb: ui-file.c
Log Message:
fix some empty bodies.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/ui-file.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/ui-file.c
diff -u src/external/gpl3/gdb/dist/gdb/ui-file.c:1.1.1.1 src/external/gpl3/gdb/dist/gdb/ui-file.c:1.2
--- src/external/gpl3/gdb/dist/gdb/ui-file.c:1.1.1.1 Sat Sep 24 16:12:55 2011
+++ src/external/gpl3/gdb/dist/gdb/ui-file.c Tue Oct 11 11:10:17 2011
@@ -532,7 +532,7 @@ stdio_file_write (struct ui_file *file,
_("stdio_file_write: bad magic number"));
/* Calling error crashes when we are called from the exception framework. */
if (fwrite (buf, length_buf, 1, stdio->file))
- ;
+ return;
}
static void
@@ -545,7 +545,7 @@ stdio_file_fputs (const char *linebuffer
_("stdio_file_fputs: bad magic number"));
/* Calling error crashes when we are called from the exception framework. */
if (fputs (linebuffer, stdio->file))
- ;
+ return;
}
static int