[util] Fix warning for position returning

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-23 13:22:44 +02:00
parent 834f1f2424
commit 0642e415dd
1 changed files with 2 additions and 1 deletions

View File

@ -127,8 +127,9 @@ position_to_str(position_t p)
return a_strdup("left"); return a_strdup("left");
case Auto: case Auto:
return a_strdup("auto"); return a_strdup("auto");
} default:
return a_strdup("off"); return a_strdup("off");
}
} }
/** \brief safe limited strdup. /** \brief safe limited strdup.