Tomas Babej
8b86f16f25
Variant: Do not use implicit fall-through
...
The code handling the comparison between the date and string types would
convert the variants to correct types, but only through multi-level
fall-through in the switch statement, which is always a bit of a
dangerous construct.
Added explicit return for the non-trivial case, preventing the need for
the fall-through.
Closes #2502 .
2021-06-12 15:49:06 -04:00
..
2021-04-23 00:22:43 -04:00
2021-06-10 21:44:07 -04:00
2021-06-02 19:34:57 -04:00
2016-06-25 17:28:15 -04:00
2011-07-16 13:20:26 -04:00
2021-01-02 02:48:22 -05:00
2011-07-16 13:20:26 -04:00
2021-04-24 10:47:28 -04:00
2021-04-24 10:47:28 -04:00
2021-06-12 10:40:47 -04:00
2021-06-02 19:34:57 -04:00
2021-04-03 15:01:39 -04:00
2021-04-23 09:13:22 -04:00
2021-04-24 10:47:28 -04:00
2021-01-02 02:48:22 -05:00
2021-04-24 10:47:28 -04:00
2021-01-02 02:48:22 -05:00
2021-05-01 21:20:52 -04:00
2021-04-24 15:28:00 -04:00
2021-01-02 02:48:22 -05:00
2021-04-23 01:39:23 -04:00
2021-01-02 02:48:22 -05:00
2021-01-02 02:48:22 -05:00
2015-07-17 14:59:42 -04:00
2021-04-23 00:15:06 -04:00
2021-04-23 00:15:06 -04:00
2021-01-02 02:48:22 -05:00
2021-06-12 10:37:23 -04:00
2021-01-02 02:48:22 -05:00
2021-06-12 10:40:29 -04:00
2021-01-02 02:48:22 -05:00
2021-01-02 02:48:22 -05:00
2021-04-24 10:47:28 -04:00
2021-01-02 02:48:22 -05:00
2021-03-02 20:36:02 -05:00
2021-01-02 02:48:22 -05:00
2021-05-14 00:04:48 -04:00
2021-01-02 02:48:22 -05:00
2013-09-01 13:53:24 -04:00
2021-03-12 07:58:04 -05:00
2021-01-02 02:48:22 -05:00
2021-06-12 15:49:06 -04:00
2021-01-02 02:48:22 -05:00
2021-04-23 09:13:22 -04:00
2021-01-02 02:48:22 -05:00