Skip to content
Snippets Groups Projects
Commit 206f5044 authored by Nicolas Léveillé's avatar Nicolas Léveillé
Browse files

Remove warning about tail "potentially uninitialized"

MSVC was complaining that the `tail` variable was potentially
uninitialized in the while branch. Since the while loop is actually
coupled to the if (head != NULL) that initializes the tail variable,
we move them together, which makes the warning disappear.
parent d6e6911a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment