https://bugs.exim.org/show_bug.cgi?id=3123

            Bug ID: 3123
           Summary: Two patches to fix recently broken code
           Product: Exim
           Version: 4.99
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
          Assignee: unalloca...@exim.org
          Reporter: e...@aitchison.me.uk
                CC: exim-dev@lists.exim.org

Created attachment 1500
  --> https://bugs.exim.org/attachment.cgi?id=1500&action=edit
Don't initialise acl_wherenames[ACL_WHERE_ATRN] twice

First attachment:
Don't initialise acl_wherenames[ACL_WHERE_ATRN] twice in globals.c
globals.c:522:55: error: initializer overrides prior initialization of this
subobject [-Werror,-Winitializer-overrides]
  522 |                                    [ACL_WHERE_ATRN] =   US"450",
      |                                                         ^~~~~~~
./mytypes.h:89:14: note: expanded from macro 'US'
   89 | #define US   (unsigned char *)
      |              ^
globals.c:519:55: note: previous initialization is here
  519 |                                    [ACL_WHERE_ATRN] =   US"450",
      |                                                         ^~~~~~~
./mytypes.h:89:14: note: expanded from macro 'US'
   89 | #define US   (unsigned char *)
      |              ^
1 error generated.

Second attachment:
Nested/unclosed /* */ comments in smtp_in.c
smtp_in.c:5622:7: error: '/*' within block comment [-Werror,-Wcomment]
 5622 |       /* ACK the command, record the connection details
      |       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-dev-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to