Add return 0 in functions which return non-void to
suppress compiler complaint.

Signed-off-by: Krzysztof Opasiak <k.opas...@samsung.com>
---
 src/usbg.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/usbg.c b/src/usbg.c
index c88358d..b13c666 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -228,6 +228,8 @@ static int usbg_parse_functions(char *path, struct gadget 
*g)
                free(dent[i]);
        }
        free(dent);
+
+       return 0;
 }
 
 static void usbg_parse_config_attrs(struct config *c)
@@ -300,6 +302,8 @@ static int usbg_parse_configs(char *path, struct gadget *g)
                free(dent[i]);
        }
        free(dent);
+
+       return 0;
 }
 
 static void usbg_parse_attrs(char *path, struct gadget *g)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to