]> err.no Git - gant/commitdiff
Drop pointless if
authorTollef Fog Heen <tfheen@err.no>
Sun, 28 Aug 2011 18:54:43 +0000 (20:54 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 28 Aug 2011 18:54:43 +0000 (20:54 +0200)
antlib.c

index 564f5f934c36bfb0f7e75bc35ab2e3b187de0728..dafa1ac1106cd14198b149877cd0b6b5c73e1b6a 100644 (file)
--- a/antlib.c
+++ b/antlib.c
@@ -463,7 +463,7 @@ ANT_Initf(char *devname)
        tp.c_cc[VTIME] = 0;
        S(tcsetattr(fd, TCSANOW, &tp));
 
-       if (pthread_create(&commthread, 0, commfn, 0));
+       pthread_create(&commthread, 0, commfn, 0);
        return 1;
 }