Skip to content

Commit

Permalink
mx_proc: Remove redudant assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 29, 2023
1 parent c4d03ec commit 90eb8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mx_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int mx_proc_pid_stat_read(struct mx_proc_pid_stat *pps, char *fmt, ...)
assert(pps);

va_start(ap, fmt);
_mx_cleanup_free_ char *fname = fname = mx_vasprintf_forever(fmt, ap);
_mx_cleanup_free_ char *fname = mx_vasprintf_forever(fmt, ap);
va_end(ap);

res = mx_read_first_line_from_file(fname, &line);
Expand Down

0 comments on commit 90eb8c3

Please sign in to comment.