dxdiag: Removed unused endptr assignment (Coverity).

This commit is contained in:
Marcus Meissner 2011-06-28 08:31:30 +02:00 committed by Alexandre Julliard
parent e5d69ba923
commit 8598b121d6
1 changed files with 1 additions and 1 deletions

View File

@ -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);