From 0642e415ddad083056a82eca49046074a462816c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Apr 2008 13:22:44 +0200 Subject: [PATCH] [util] Fix warning for position returning Signed-off-by: Julien Danjou --- common/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/util.c b/common/util.c index c6190a41..edacee93 100644 --- a/common/util.c +++ b/common/util.c @@ -127,8 +127,9 @@ position_to_str(position_t p) return a_strdup("left"); case Auto: return a_strdup("auto"); + default: + return a_strdup("off"); } - return a_strdup("off"); } /** \brief safe limited strdup.