Does anyone know if this is intentional or a typo?

void DebugControl::Register(QCC_DbgMsgCallback callback, void* cbContext)
{
    assert(cb != NULL);
    this->context = cbContext;
    this->cb = callback;
}

Should at be assert(callback != NULL) ?
_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core

Reply via email to