diff options
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 4 | ||||
-rw-r--r-- | libbacktrace/btest.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 528b4930204..16410566d9b 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,7 @@ +2012-10-04 Gerald Pfeifer <gerald@pfeifer.com> + + * btest.c (f23): Avoid uninitialized variable warning. + 2012-10-04 Ian Lance Taylor <iant@google.com> * dwarf.c: If the system header files do not declare strnlen, diff --git a/libbacktrace/btest.c b/libbacktrace/btest.c index 085891a6e69..16f25b45013 100644 --- a/libbacktrace/btest.c +++ b/libbacktrace/btest.c @@ -486,7 +486,7 @@ f23 (int f1line, int f2line) case 2: expected = "test3"; break; - case 3: + default: assert (0); } |