Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Remove an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Oct 31, 2017
1 parent 6b50566 commit 36acd70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sp_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ static int construct_filename(char* filename, const char* folder) {
time_t t = time(NULL);
struct tm* tm = localtime(&t); // FIXME use `localtime_r` instead
struct timeval tval;
struct stat st = {0};

if (0 > mkdir(folder, 0700) && errno != EEXIST) {
sp_log_err("request_logging", "Unable to create the folder '%s'.",
Expand Down

0 comments on commit 36acd70

Please sign in to comment.