src/cdrom/aix/SDL_syscdrom.c
changeset 2735 204be4fc2726
parent 1895 c121d94672cb
child 2859 99210400e8b9
     1.1 --- a/src/cdrom/aix/SDL_syscdrom.c	Wed Aug 27 13:37:19 2008 +0000
     1.2 +++ b/src/cdrom/aix/SDL_syscdrom.c	Wed Aug 27 15:10:03 2008 +0000
     1.3 @@ -181,8 +181,7 @@
     1.4  #endif
     1.5              return;
     1.6          }
     1.7 -    }
     1.8 -    while (ret == 0);
     1.9 +    } while (ret == 0);
    1.10  
    1.11  #ifdef DEBUG_CDROM
    1.12      fprintf(stderr, "Read %d vmount structures\n", ret);
    1.13 @@ -211,8 +210,7 @@
    1.14          }
    1.15          ptr = (struct vmount *) ((char *) ptr + ptr->vmt_length);
    1.16          ret--;
    1.17 -    }
    1.18 -    while (ret > 0);
    1.19 +    } while (ret > 0);
    1.20  
    1.21      free(buffer);
    1.22  }
    1.23 @@ -247,8 +245,7 @@
    1.24                  }
    1.25              }
    1.26          }
    1.27 -    }
    1.28 -    while (ret == 0);
    1.29 +    } while (ret == 0);
    1.30      ret = endfsent_r(&fsFile);
    1.31      if (ret != 0)
    1.32          return -1;
    1.33 @@ -275,8 +272,7 @@
    1.34                  }
    1.35              }
    1.36          }
    1.37 -    }
    1.38 -    while (entry != NULL);
    1.39 +    } while (entry != NULL);
    1.40      endfsent();
    1.41  #endif
    1.42  }
    1.43 @@ -326,8 +322,7 @@
    1.44                  } else {
    1.45                      SDLcdrom = NULL;
    1.46                  }
    1.47 -            }
    1.48 -            while (SDLcdrom);
    1.49 +            } while (SDLcdrom);
    1.50              SDL_stack_free(cdpath);
    1.51          }
    1.52