Skip to content
Snippets Groups Projects
Commit e4764fdb authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

"Fix" impossible warning.

parent 161f9470
No related branches found
No related tags found
No related merge requests found
Pipeline #6061 passed
......@@ -1816,6 +1816,9 @@ sftp_readdir(sftp_dirhandle_t handle, void *cb_data)
case SFTP_DTREE_VIRTUAL:
ename = expand_slash(sbbs->cfg.lib[dd->info.filebase.idx]->vdir);
break;
default:
ename = nullptr;
break;
}
if (ename == nullptr) {
sftp_fattr_free(attr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment