summary refs log tree commit diff stats
path: root/src/common/chanopt.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2016-04-27 11:39:29 -0700
committerArnavion <arnavion@gmail.com>2016-04-27 11:39:29 -0700
commitfe9da9314caa3d0b4b71131dd2ea31239918ed06 (patch)
tree3bb18bb02c65255f8f8e041254923ea2b7603588 /src/common/chanopt.c
parent1c73f84f3a80b62de2c82adb550f452e9ee28711 (diff)
Fixed warning from MSVC that not all branches return a value.
Diffstat (limited to 'src/common/chanopt.c')
-rw-r--r--src/common/chanopt.c1
1 files changed, 1 insertions, 0 deletions
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;
 	}
 }