Diff
Not logged in

Differences From:

File src/tag.c part of check-in [ce7900a0b6] - Correct tag propagationl. Now works even when rebuilding in a randomized order. by drh on 2007-09-25 08:38:24. [view]

To:

File src/tag.c part of check-in [e63a9fd9d0] - Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. by jnc on 2007-09-25 21:21:35. [view]

@@ -233,9 +233,11 @@
   switch( zTag[0] ){
     case '+':  tagtype = 1;  break;
     case '*':  tagtype = 2;  break;
     case '-':  tagtype = 0;  break;
-    default:   fossil_fatal("tag should begin with '+', '*', or '-'");
+    default:
+      fossil_fatal("tag should begin with '+', '*', or '-'");
+      return;
   }
   rid = name_to_rid(g.argv[3]);
   if( rid==0 ){
     fossil_fatal("no such object: %s", g.argv[3]);