Browse Source

Removed [-Wswitch] warnings by adding empty defaults

Gerard van de Schoot 8 years ago
parent
commit
a5d5ced0f6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sys/src/cmd/gview.c

+ 2 - 0
sys/src/cmd/gview.c

@@ -1864,6 +1864,7 @@ void init_e_menu(void)
 		case Edelete: u="undelete"; break;
 		case Emove: u="unmove"; break;
 		case Erotate: u="unrotate"; break;
+		default:;
 		}
 	e_items[Eundo] = u;
 }
@@ -1963,6 +1964,7 @@ e_action* do_undo(e_action* a0)		/* pop off an e_action and (un)do it */
 		rotate_fp(a->fp, a->pt, -a->amt);
 		eresized(0);
 		break;
+	default:;
 	}
 	a0 = a->link;
 	free(a);