• Andrew M. Kuchling's avatar
    #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c. · b64d6136
    Andrew M. Kuchling yazdı
    Noted by Joseph Armbruster; patch by Jessica McKellar.
    
    The original code was 'for (;;) {...}', where ... ended
    with a 'return -2' statement and did not contain a 'break' or 'continue'
    statement.  Therefore, the body of the loop is always executed once.
    
    Once upon a time there was a 'continue' in the loop, but it was removed in
    rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
    b64d6136
myreadline.c 5.33 KB