emulator daemon: removed logically dead code
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Thu, 13 Jun 2013 07:41:34 +0000 (16:41 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Thu, 13 Jun 2013 07:41:34 +0000 (16:41 +0900)
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
packaging/emuld.spec
src/emuld.c

index b8b37a410ec82a8df9fa677d16e026ba7586e5b6..974f5cacc2c2044a1f42dab5d4a96d109d38aa4f 100755 (executable)
@@ -1,6 +1,6 @@
 #git:/slp/pkgs/e/emulator-daemon
 Name: emuld
-Version: 0.2.39
+Version: 0.2.40
 Release: 1
 Summary: emuld is used for communication emulator between and ide.
 License: Apache
index 10ac91e6abe247a405dd333843ad359445976933..f2719998351a24462fc4e13d0090f78a67303d54 100755 (executable)
@@ -355,16 +355,12 @@ int umount_sdcard(void)
                        {
                                packet->length = strlen(SDpath);                // length
                                packet->group = 11;                             // sdcard
-                               if(ret == 0)
-                                       packet->action = 0;                             // unmounted
-                               else
-                                       packet->action = 4;                             // failed
+                               packet->action = 0;                             // unmounted
 
                                send(g_sdcard_sockfd, (void*)packet, sizeof(char) * HEADER_SIZE, 0);
                                LOG("SDpath is %s", SDpath);
                                send(g_sdcard_sockfd, SDpath, packet->length, 0);
                                
-                               if(ret == 0)
                                {
                                        memset(SDpath, '\0', sizeof(SDpath));
                                        sprintf(SDpath, "umounted");