]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/blobdiff - src/frsh/resources/item/frm_item.c
Get rid of the most of other warnings
[frescor/frsh-forb.git] / src / frsh / resources / item / frm_item.c
index 6ab2ee23a6290edf16d3e7decb8bf203c9fd88de..9574333236901eac5bd1701775db1b192d5dab2e 100644 (file)
@@ -264,7 +264,7 @@ int forb_main(forb_orb orb, int argc, char *argv[])
 
        // ITEM ADD     
        threadRead = init(parametrsITEM);
-       //if (threadRead == NULL) error (1, errno, "Cannot run the ITEM PC Manager");   //TODO fix the worning
+       if (!threadRead) error (1, errno, "Cannot run the ITEM PC Manager");    //TODO fix the worning
        
        
        forb_executor_run(&executor);