tag_utils: Comment that case should not happen.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 15 Nov 2016 18:15:49 +0000 (18:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 15 Nov 2016 18:15:49 +0000 (18:15 +0000)
todo_tag_utils.ml

index 29a760b..b2990a8 100644 (file)
@@ -15,6 +15,8 @@ let string_of_tag name colour =
     (* black fg *)
     | "cyan"   -> 46, 30
     | "yellow" -> 43, 30
+
+    (* Should never happen because of database constraints. *)
     | _ -> assert false in
 
   sprintf "\x1b[%d;%dm\x1b[%d;%dm %s \x1b[0m" 1 fg 1 bg name