From 69289a0cedcf2ba13fea15e149d98166bd06abdd Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Thu, 19 Sep 2013 23:57:56 +0300 Subject: [PATCH] Make unreachable code, reachable. CID#1090412 Signed-off-by: Philippe De Swert --- src/usb_moded-android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb_moded-android.c b/src/usb_moded-android.c index 05e07aa..1ad01bd 100644 --- a/src/usb_moded-android.c +++ b/src/usb_moded-android.c @@ -109,7 +109,7 @@ int set_android_productid(char *id) int ret = 0; /* disable, set functions to "mass_storage", re-enable */ - write_to_file("/sys/class/android_usb/android0/idProduct", id); + ret = write_to_file("/sys/class/android_usb/android0/idProduct", id); if(ret < 0) return(1); else