Remove a redundant assert..
This commit is contained in:
@@ -57,7 +57,6 @@ void uc_timers_add(struct UCTimers *timers, struct UCTimer *timer, int sec, int
|
|||||||
|
|
||||||
assert(timer->callback != NULL);
|
assert(timer->callback != NULL);
|
||||||
if (timer->callback == NULL) { //must be set.
|
if (timer->callback == NULL) { //must be set.
|
||||||
assert(timer->callback != NULL);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user