Diff
Not logged in

Differences From:

File src/tag.c part of check-in [fff234b77c] - Updates to the autosync logic. Add the "setting" command. by drh on 2007-09-25 20:23:52. [view]

To:

File src/tag.c part of check-in [92291035fe] - Merged the compiler warning fixes into mainstream by jnc on 2007-09-25 21:28:30. [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]);