initial port of the mainwindow
[lttv.git] / lttv / modules / gui / lttvwindow / lttvwindow / timebar.c
index 9673ec669a97c551f9054f2cd2eaeebfe48f8bd3..0395b81484e765f05b3f063882c86b7505c29c18 100644 (file)
@@ -242,15 +242,9 @@ void timebar_set_minmax_time(Timebar *timebar,
                ) {
                return;
        }
-
-       if (min_time != NULL) {
-               timebar->min_time = *min_time;
-       }
-
-       if (max_time != NULL) {
-               timebar->max_time = *max_time;
-       }
-
+       /* null-checked already */
+       timebar->min_time = *min_time;
+       timebar->max_time = *max_time;
 
        if (ltt_time_compare(timebar->min_time, timebar->max_time) == 0) {
 
This page took 0.023196 seconds and 4 git commands to generate.