There are code paths in which some of these variables were used but not initialized, causing undefined behavior.