Fix false-alarm warning from older compilers resulting from previous

"bt -l" update:

  x86_64.c: In function ‘x86_64_exception_frame’:
  x86_64.c:3814: warning: ‘sp’ may be used uninitialized in this function

(anderson@redhat.com)
This commit is contained in:
Dave Anderson 2014-04-03 14:58:19 -04:00
parent 409256c9d8
commit b559631d73

View File

@ -3818,7 +3818,8 @@ x86_64_exception_frame(ulong flags, ulong kvaddr, char *local,
long err;
char buf[BUFSIZE];
ms = machdep->machspec;
ms = machdep->machspec;
sp = NULL;
if (!(machdep->flags & PT_REGS_INIT) || (flags == EFRAME_INIT)) {
err = 0;