Project

General

Profile

Bug #9176

smbsrv/libfksmbsrv: duplicate 'const' declaration specifier

Added by Toomas Soome over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Issue found by gcc 7 build:

    ../../common/fs/smbsrv/smb_acl.c:78:20: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
     static const ace_t const default_dacl[DEFAULT_DACL_ACENUM] = {
                        ^~~~~
    ../../common/fs/smbsrv/smb_dispatch.c:148:31: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
     static const smb_disp_entry_t const
                                   ^~~~~
    ../../common/fs/smbsrv/smb2_dispatch.c:71:31: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
     static const smb_disp_entry_t const
                                   ^~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 year ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit adb064afeb48ec687de5e8bd683ac74fbe19d656

commit  adb064afeb48ec687de5e8bd683ac74fbe19d656
Author: Toomas Soome <tsoome@me.com>
Date:   2018-04-23T16:15:38.000Z

    9176 smbsrv/libfksmbsrv: duplicate 'const' declaration specifier
    Reviewed by: Gordon Ross <gwr@nexenta.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Also available in: Atom PDF