small warnings.

This commit is contained in:
Vitor Santos Costa
2014-11-25 16:42:35 +00:00
parent 50659967ed
commit 2be225c17a
12 changed files with 34 additions and 18 deletions

View File

@@ -64,8 +64,10 @@ int start;
if (q)
qi = ((QueueIterator)Allocate(sizeof(_QueueIterator)));
else
ADTError(ADT_QueueIter, E_NullQueue, "QueueIteratorNew");
else {
ADTError(ADT_QueueIter, E_NullQueue, "QueueIteratorNew");
return NULL;
}
if (qi) {
qi->queue = q;
QueueIteratorAbsoluteSeek(qi, start);