Commit f55df8f4 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

remove assignment to unused retval

parent dec6751d
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment