]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/blobdiff - src/frsh/fres/contract/fres_container.c
Get rid of the most of other warnings
[frescor/frsh-forb.git] / src / frsh / fres / contract / fres_container.c
index dfee5d5223d1c58d67d78aa1e393bd79b798adb0..031090e30598e4198bd41c3eae85f2b53ffdfb84 100644 (file)
@@ -478,8 +478,8 @@ serialize_block(FORB_CDR_Codec *codec, enum fres_block_type type, const struct f
 {
        CORBA_boolean ret;
        CORBA_short type_short = type;
-       CORBA_unsigned_short flags;
-       CORBA_long length;
+       CORBA_unsigned_short flags = 0;
+       CORBA_long length = 0;
        unsigned int wptr_of_length, wptr_tmp, wptr_of_block_beg;
 
        switch (b->state) {