Imported Upstream version 1.0.0
[platform/upstream/libical.git] / src / libical / icaltypes.c
index 957d1c1..8ce5d1d 100644 (file)
@@ -83,16 +83,13 @@ struct icaltriggertype icaltriggertype_from_string(const char* str)
 {
 
     
-    struct icaltriggertype tr, null_tr;
+    struct icaltriggertype tr;
     icalerrorstate es = ICAL_ERROR_DEFAULT;
     icalerrorenum e;
 
     tr.time= icaltime_null_time();
     tr.duration = icaldurationtype_from_int(0);
 
-    null_tr = tr;
-
-
     /* Suppress errors so a failure in icaltime_from_string() does not cause an abort */
     es = icalerror_get_error_state(ICAL_MALFORMEDDATA_ERROR);
     if(str == 0) goto error;