Fixed use of unitialized variable in lefty
In the file cmd/lefty/ws/x11/gquery.c, function Gqwpopaction: THe char c is declared without initializer, giving it a unpredictable value. If the next if statement takes the false branch, the function where c is set is not executed. The next if statement then checks `c != 13`, but because C could have any value, the behavior is unpredictable. Initializing c with a known value, such as 0, fixes the problem.
Showing with 1 addition and 1 deletion