Further warning fixes
[lttv.git] / lttv / lttv / attribute.c
index 80126a5e167eb1c717c856a8888be03f2e54ec96..243fe0240d1286d9e85598233d0708c7e7b82d55 100644 (file)
@@ -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;
This page took 0.030046 seconds and 4 git commands to generate.