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.