OSDN Git Service

client/transfer: Return "error" for unknown status in status2str
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:35 +0000 (11:05 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 11:10:33 +0000 (14:10 +0300)
commit9cd1d095e2609e8d2cc98c1b314f435f6563397b
treeba241bb7457e00a62956ceb05ed873544c799a03
parent757e10de01a4a35ac7bbebb0971c67812b98004b
client/transfer: Return "error" for unknown status in status2str

This can happen only if there is a bug in obexd code.
This fix following build error:

  CC     obexd/client/obexd-transfer.o
obexd/client/transfer.c: In function ‘status2str’:
obexd/client/transfer.c:277:1: error: control reaches end of non-void
    function [-Werror=return-type]
obexd/client/transfer.c