From fe9da9314caa3d0b4b71131dd2ea31239918ed06 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Wed, 27 Apr 2016 11:39:29 -0700 Subject: Fixed warning from MSVC that not all branches return a value. --- src/common/chanopt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/chanopt.c b/src/common/chanopt.c index 9b7c4f24..1870c99c 100644 --- a/src/common/chanopt.c +++ b/src/common/chanopt.c @@ -83,6 +83,7 @@ chanopt_value (guint8 val) return _("{unset}"); default: g_assert_not_reached (); + return NULL; } } -- cgit 1.4.1