• George Nash's avatar
    IOT-2539 Clean unused code warnnings · a855c499
    George Nash authored
    credresource.c:
    Removed the [-Wunused-const-variable=] warning
    The CRED_EMPTY_ROOT_MAP_SIZE was used in the past but is no longer
    referenced anywhere in the code.
    
    provisioningclient.c:
    Removed the [-Wunused-const-variable=] warning
    The SUPPORTED_PRMS array was used in the past but is no longer
    referenced anywhere in the code.
    
    ocserver.cpp
    Removed the [-Wunused-variable] warning
    Looking at the logs a instance that gDeviceUUID was used could not
    be found at any point in time.
    
    stacktest.cpp:
    Removed the [-Wunused-variable] warnings
    Variables peer, pinNumber, and pmSel were only used in Direct Pairing
    related unit tests which were removed as part of IOT-2306.
    
    provisioningclient.cpp:
    Removed the [-Wunused-function] warning
    The InputPdACL function was only used by the Direct Pairing code
    that was removed as part of IOT-2306.
    
    Bug: https://jira.iotivity.org/browse/IOT-2539
    Bug: https://jira.iotivity.org/browse/IOT-2306
    Change-Id: I80f52619a04ee7eafc83b79b886c1121f61a6ba1
    Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    a855c499
credresource.c 131 KB