[libbluray-devel] Killed warnings

hpi1 git at videolan.org
Thu Dec 8 15:19:44 CET 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec  8 13:02:23 2011 +0200| [ff358288088c1501718af49b0f625627c4a7eefb] | committer: hpi1

Killed warnings

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=ff358288088c1501718af49b0f625627c4a7eefb
---

 src/examples/util.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/examples/util.c b/src/examples/util.c
index 8b9558c..467d15d 100644
--- a/src/examples/util.c
+++ b/src/examples/util.c
@@ -45,15 +45,14 @@ indent_printf(int level, const char *fmt, ...)
 {
     va_list ap;
     int ii;
-    size_t wrote;
 
     for (ii = 0; ii < level; ii++)
     {
-        wrote = fwrite("    ", 1, 4, stdout);
+        printf("    ");
     }
     va_start(ap, fmt);
     vprintf(fmt, ap);
     va_end(ap);
-    wrote = fwrite("\n", 1, 1, stdout);
+    printf("\n");
 }
 



More information about the libbluray-devel mailing list