lib506.c: Fixed possible use of uninitialized variables