Skip to content

Commit

Permalink
Make unreachable code, reachable. CID#1090412
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Sep 19, 2013
1 parent 5ffdc64 commit 69289a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb_moded-android.c
Expand Up @@ -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
Expand Down

0 comments on commit 69289a0

Please sign in to comment.