VirtualBox

Changeset 3065 in kBuild for trunk/src/kmk/job.c


Ignore:
Timestamp:
Sep 30, 2017 12:52:35 PM (8 years ago)
Author:
bird
Message:

misc gcc warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/job.c

    r3052 r3065  
    27162716  char *p;
    27172717  char *ap;
     2718#ifndef NDEBUG
    27182719  char *end;
     2720#endif
    27192721  int instring, word_has_equals, seen_nonequals, last_argument_was_empty;
    27202722  char **new_argv = 0;
     
    28502852  /* All the args can fit in a buffer as big as LINE is.   */
    28512853  ap = new_argv[0] = argstr = xmalloc (i);
     2854#ifndef NDEBUG
    28522855  end = ap + i;
     2856#endif
    28532857
    28542858  /* I is how many complete arguments have been found.  */
     
    31603164    unsigned int line_len = strlen (line);
    31613165    unsigned int sflags_len = strlen (shellflags);
     3166# ifdef WINDOWS32
    31623167    char *command_ptr = NULL; /* used for batch_mode_shell mode */
     3168# endif
    31633169    char *new_line;
    31643170
     
    32413247    ap += sflags_len;
    32423248    *(ap++) = ' ';
     3249#ifdef WINDOWS32
    32433250    command_ptr = ap;
     3251#endif
    32443252    for (p = line; *p != '\0'; ++p)
    32453253      {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette