Commit 413ee282 authored by Julian Calaby's avatar Julian Calaby Committed by David S. Miller

sparc64: Fix build warnings in piggyback_64.c

This patch fixes the following build warnings:
arch/sparc/boot/piggyback_64.c: In function 'main':
arch/sparc/boot/piggyback_64.c:44: warning: 'end' may be used uninitialized in this function
arch/sparc/boot/piggyback_64.c:44: warning: 'start' may be used uninitialized in this function
Signed-off-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 14a2ff6e
...@@ -46,6 +46,7 @@ int main(int argc,char **argv) ...@@ -46,6 +46,7 @@ int main(int argc,char **argv)
struct stat s; struct stat s;
int image, tail; int image, tail;
start = end = 0;
if (stat (argv[3], &s) < 0) die (argv[3]); if (stat (argv[3], &s) < 0) die (argv[3]);
map = fopen (argv[2], "r"); map = fopen (argv[2], "r");
if (!map) die(argv[2]); if (!map) die(argv[2]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment