cmd->next = NULL;
struct jtag_command **last_cmd = next_command_pointer;
- assert(NULL != last_cmd);
- assert(NULL == *last_cmd);
+ assert(last_cmd);
+ assert(!*last_cmd);
*last_cmd = cmd;
/* store location where the next command pointer will be stored */