[Bug 10951] New: error: 'execstat' undeclared (first use in this function)

bugzilla at busybox.net bugzilla at busybox.net
Fri Apr 13 19:54:34 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=10951

            Bug ID: 10951
           Summary: error: 'execstat' undeclared (first use in this
                    function)
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: larissanadja at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Use of undeclared variable.

When the OLDER_VERSION_OF_X macro is enabled, the code bellow is compiled.
However, there is no declaration of 'execstat' until later in the code.

debianutils/start_stop_daemon.c:187:19: error: ‘execstat’ undeclared (first use
in this function)
  if (st.st_dev == execstat.st_dev
       ^

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


More information about the busybox-cvs mailing list