aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/cWarnings.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-09-27 17:16:39 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-09-27 17:16:39 +0200
commite8b9ee76af721c32b2d5cfcdae4ecbf47b341545 (patch)
tree684570dc1f21cce14a430aa873c9867741b96c08 /lib/cWarnings.ml
parent751fa3aa8aed28946b45d8932514913c86ce8f5a (diff)
Fix #5061: Warnings flag has no discernible value
The default value of the warnings flag was printed as an empty string, now replaced by "default".
Diffstat (limited to 'lib/cWarnings.ml')
-rw-r--r--lib/cWarnings.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cWarnings.ml b/lib/cWarnings.ml
index 78fa84f33..720f54606 100644
--- a/lib/cWarnings.ml
+++ b/lib/cWarnings.ml
@@ -21,7 +21,7 @@ let warnings : (string, t) Hashtbl.t = Hashtbl.create 97
let categories : (string, string list) Hashtbl.t = Hashtbl.create 97
let current_loc = ref Loc.ghost
-let flags = ref ""
+let flags = ref "default"
let set_current_loc = (:=) current_loc