OSDN Git Service

obexd: Return "error" for unknown status in status2str
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:32 +0000 (11:05 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 11:10:33 +0000 (14:10 +0300)
commitbce50703cd7fb1f51ec490b082b89b7a4c442462
tree8d1b6b71d15b6f3f5cfccf7603a95b6baa0abdb5
parentc8f07de497e7652a153b32d66bca120fa3e831c1
obexd: Return "error" for unknown status in status2str

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

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