Fix code warning.

Change-Id: Ib11fb49f528d3688351ae349d5b4e307c28b3967
diff --git a/mbtk/aboot-tiny/jacana/jacana_main.c b/mbtk/aboot-tiny/jacana/jacana_main.c
index 96b4c53..abd0ef3 100755
--- a/mbtk/aboot-tiny/jacana/jacana_main.c
+++ b/mbtk/aboot-tiny/jacana/jacana_main.c
@@ -39,7 +39,9 @@
     fd = open((const char*)gpioCtrlPath, O_WRONLY);
 
     if (fd >= 0)    {
-        write(fd, str, strlen(str));
+        if(write(fd, str, strlen(str))) {
+
+        }
         close(fd);
     }
 }
@@ -57,20 +59,20 @@
 
 static int gpsHalFWDone()
 {
-    dubheWrite("on");  
+    dubheWrite("on");
     return 0;
 }
 
 static int gpsHalFWFail()
 {
-    dubheWrite("off");  
+    dubheWrite("off");
     return 0;
 }
 /*---------------------------------------------------------------------------*/
 void *
 jacana_mem_alloc(size_t size)
 {
-  void *ptr;  
+  void *ptr;
   ptr = malloc(size);
   return ptr;
 }
@@ -241,10 +243,10 @@
 //  }
 
   /* Mark Done. */
-  if (!ret)  
+  if (!ret)
     gpsHalFWDone();
   else
     gpsHalFWFail();
-  
+
   return ret;
 }