X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fattribute.c;h=243fe0240d1286d9e85598233d0708c7e7b82d55;hb=7d0aa40c0ca658e85876b06c7245292918588c13;hp=80126a5e167eb1c717c856a8888be03f2e54ec96;hpb=8d8c5ea79a434752faf43cd66acc38196d25268d;p=lttv.git diff --git a/lttv/lttv/attribute.c b/lttv/lttv/attribute.c index 80126a5e..243fe024 100644 --- a/lttv/lttv/attribute.c +++ b/lttv/lttv/attribute.c @@ -50,7 +50,7 @@ typedef struct _Attribute { static __inline__ LttvAttributeValue address_of_value(LttvAttributeType t, AttributeValue *v) { - LttvAttributeValue va; + LttvAttributeValue va = { NULL }; /* init to NULL for gcc */ switch(t) { case LTTV_INT: va.v_int = &v->dv_int; break;