remove assignment to unused retval

This commit is contained in:
Yukihiro Matsumoto
2012-08-18 20:53:40 +09:00
parent dec6751d7a
commit f55df8f47a
+1 -1
View File
@@ -419,7 +419,7 @@ st_foreach(st_table *table, enum st_retval (*func)(ANYARGS), st_data_t arg)
for (tmp = table->bins[i]; tmp != ptr; tmp = tmp->next) {
if (!tmp) {
/* call func with error notice */
retval = (*func)(0, 0, arg, 1);
(*func)(0, 0, arg, 1);
return 1;
}
}