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

Remove (now) unused variable.

parent 076aa163
No related branches found
No related tags found
No related merge requests found
Pipeline #6079 passed
......@@ -709,14 +709,12 @@ sftp_resolve_path(char *target, const char *path, size_t size)
{
char *out;
char *p;
bool target_alloced=false;
if(target==NULL) {
size = MAX_PATH + 1;
if((target=(char*)malloc(size))==NULL) {
return(NULL);
}
target_alloced=true;
}
strncpy(target, path, size);
target[size-1] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment