[util] Fix warning for position returning
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
834f1f2424
commit
0642e415dd
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue