mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 17:31:51 +03:00
Fix unreadVariable warning
This commit is contained in:
@@ -251,6 +251,10 @@ void q_skip_forward_to(struct mq *q, s64a min_loc) {
|
||||
// Dump the contents of the given queue.
|
||||
static never_inline UNUSED
|
||||
void debugQueue(const struct mq *q) {
|
||||
if (q == nullptr) {
|
||||
DEBUG_PRINTF("q=NULL!\n");
|
||||
return;
|
||||
}
|
||||
DEBUG_PRINTF("q=%p, nfa=%p\n", q, q->nfa);
|
||||
DEBUG_PRINTF("q offset=%llu, buf={%p, len=%zu}, history={%p, len=%zu}\n",
|
||||
q->offset, q->buffer, q->length, q->history, q->hlength);
|
||||
|
||||
Reference in New Issue
Block a user