Project

General

Profile

« Previous | Next » 

Revision 384e6945

Added by nobu (Nobuyoshi Nakada) 10 months ago

[ruby/date] Enclose dangling else in braces and fix -Wmisleading-indentation

date_strptime.c:253:324: warning: misleading indentation;
      statement is not part of the previous 'if' [-Wmisleading-indentation]
  253 |   ...((VALUE)RUBY_Qtrue)); return 0; } while (0); si += l; } while (0);
      |                                                   ^
date_strptime.c:252:7: note: previous statement is here
  252 |       else
      |       ^

https://github.com/ruby/date/commit/41aed5b746