]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
ITEM: Removed warnings
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Feb 2009 14:44:01 +0000 (15:44 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Feb 2009 14:44:01 +0000 (15:44 +0100)
resources/item/frm_item.c

index 7a905886d85ec1685a5cbf2344426495c8d626db..09d9cbefd09149362ee791a039ca36e7dfbe36da 100644 (file)
@@ -150,7 +150,6 @@ CORBA_long
 get_data(fres_item_scheduler obj, const fres_item_node_mask mask, fres_item_data_seq** data, CORBA_Environment *ev)
 {
        unsigned max = 256;
-       int len;
        //struct item_status *item_status = (struct item_status*)forb_instance_data(obj);
        fres_item_data_seq *d = forb_malloc(sizeof(*d));
 
@@ -224,7 +223,7 @@ int main(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 == NULL) error (1, errno, "Cannot run the ITEM PC Manager");   //TODO fix the worning
        
        
        forb_executor_run(&executor);