Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unused loop variable #2818

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 17, 2024

  1. Removed unused loop variable

    * introduced by c3b2b3d
    * made useless by 4201b29
    * found in makefile warnings debugs:
    
    ```
    g++ -c -I./liblinear -I./libdnet-stripped/include  -I./nbase -I./nsock/include \
        -DHAVE_CONFIG_H -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\" \
        -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 \
        -Wall -fno-strict-aliasing   nmap_dns.cc -o nmap_dns.o
    
    nmap_dns.cc: In function ‘void nmap_system_rdns_core(Target**, int)’:
    nmap_dns.cc:1195:7: warning: unused variable ‘i’ [-Wunused-variable]
     1195 |   int i;
          |       ^
    ```
    Ariel Otilibili committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    c62c704 View commit details
    Browse the repository at this point in the history