OSDN Git Service

* btest.c (f23): Avoid uninitialized variable warning.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2012 20:16:08 +0000 (20:16 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2012 20:16:08 +0000 (20:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192102 138bc75d-0d04-0410-961f-82ee72b054a4

libbacktrace/ChangeLog
libbacktrace/btest.c

index 528b493..1641056 100644 (file)
@@ -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,
index 085891a..16f25b4 100644 (file)
@@ -486,7 +486,7 @@ f23 (int f1line, int f2line)
                case 2:
                  expected = "test3";
                  break;
-               case 3:
+               default:
                  assert (0);
                }