Commit 012ffba160902de1ad94f90474fdc1ba15311a6d
Fix unused variable in vifmview_loadcustom()
Happens only when building with `-DNDEBUG`.
Author: xaizek
Author date (UTC): 2026-05-16 13:50
Committer name: xaizek
Committer date (UTC): 2026-05-16 13:50
Parent(s): 5c4f69d1cff980c802238905dab8f0224e4b64b2
Signing key: 99DC5E4DB05F6BE2
Tree: 1688b75458221cf1c86c37ddcdabd05c9736ef4e
| File src/lua/vifmview.c changed (mode: 100644) (index f07e5fd75..c80559d16) |
| ... |
... |
VLUA_API(vifmview_loadcustom)(lua_State *lua) |
| 590 |
590 |
lua_pop(lua, 1); |
lua_pop(lua, 1); |
| 591 |
591 |
} |
} |
| 592 |
592 |
|
|
| 593 |
|
int success = (flist_custom_finish(view, type, /*allow_empty=*/1) == 0); |
|
| 594 |
|
assert(success && "With allow_empty, the call should always succeed."); |
|
|
593 |
|
if(flist_custom_finish(view, type, /*allow_empty=*/1) != 0) |
|
594 |
|
{ |
|
595 |
|
assert(0 && "With allow_empty, the call should always succeed."); |
|
596 |
|
} |
| 595 |
597 |
|
|
| 596 |
598 |
return 0; |
return 0; |
| 597 |
599 |
} |
} |