This minimal fix ensures that the cur_range_*_fd variables are always initialized to make it compatible with the gcc compiler flag -Wmaybe-uninitialized.
Technically, this does not fix any bug but supresses the warning as the compiler cannot see through the for loop that changes the variables value.
Signed-off-by: Felix Moessbauer felix.moessbauer@siemens.com