Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/
6dd9d208-a3ed-49b5-b03d-
8617261da973%40eisentraut.org
 
                        break;
 
                case NUM_B:
-                       if (num->pre == 0 && num->post == 0 && (!IS_ZERO(num)))
+                       if (num->pre == 0 && num->post == 0 && !IS_ZERO(num))
                                num->flag |= NUM_F_BLANK;
                        break;
 
         * All "teens" (<x>1[0-9]) get 'TH/th', while <x>[02-9][123] still get
         * 'ST/st', 'ND/nd', 'RD/rd', respectively
         */
-       if ((len > 1) && (num[len - 2] == '1'))
+       if (len > 1 && num[len - 2] == '1')
                last = 0;
 
        switch (last)