]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/post.c
post/post.c: fix GCC 4.6 build warnings
[people/ms/u-boot.git] / post / post.c
index ab8e959b7a314645d66a79dd01f42de323e72a95..0e67ad74b779039ae73f4f5483528bc7382805de 100644 (file)
@@ -417,7 +417,6 @@ int post_info(char *name)
 int post_log(char *format, ...)
 {
        va_list args;
-       uint i;
        char printbuffer[CONFIG_SYS_PBSIZE];
 
        va_start(args, format);
@@ -425,7 +424,7 @@ int post_log(char *format, ...)
        /* For this to work, printbuffer must be larger than
         * anything we ever want to print.
         */
-       i = vsprintf(printbuffer, format, args);
+       vsprintf(printbuffer, format, args);
        va_end(args);
 
 #ifdef CONFIG_LOGBUFFER