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

Remove (now) unused variable.

parent de29545b
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -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