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

"Fix" impossible warning.

parent cc4c1fd7
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -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.
Finish editing this message first!
Please register or to comment