Commit 8598b121 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dxdiag: Removed unused endptr assignment (Coverity).

parent e5d69ba9
......@@ -80,7 +80,7 @@ static BOOL process_file_name(const WCHAR *cmdline, enum output_type output_type
filename[len] = '\0';
/* Append an extension appropriate for the output type if the filename does not have one. */
if (!(endptr = strrchrW(filename, '.')))
if (!strrchrW(filename, '.'))
{
const WCHAR *filename_ext = get_output_extension(output_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment