Commit 69289a0c authored by Philippe De Swert's avatar Philippe De Swert

Make unreachable code, reachable. CID#1090412

Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent 5ffdc64f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment