fix warning
[ust.git] / libust / tracectl.c
index a52b208f34b369a6887a59f5ce95da94d48a85d4..3c50304a4f33019fe6768eaa35f902235d73b73d 100644 (file)
@@ -793,23 +793,6 @@ static int init_socket(void)
        return ustcomm_init_app(getpid(), &ustcomm_app);
 }
 
-/* FIXME: reenable this to delete socket file. */
-
-#if 0
-static void destroy_socket(void)
-{
-       int result;
-
-       if(mysocketfile[0] == '\0')
-               return;
-
-       result = unlink(mysocketfile);
-       if(result == -1) {
-               PERROR("unlink");
-       }
-}
-#endif
-
 static int init_signal_handler(void)
 {
        /* Attempt to handler SIGIO. If the main program wants to
@@ -1133,7 +1116,7 @@ void ust_fork(void)
        result = ltt_trace_set_type("auto", "ustrelay");
        if(result < 0) {
                ERR("ltt_trace_set_type failed");
-               return (void *)1;
+               return;
        }
 
        ltt_trace_alloc("auto");
This page took 0.023842 seconds and 4 git commands to generate.