Ignore:
Timestamp:
Feb 22, 2012, 8:50:40 PM (13 years ago)
Author:
dmik
Message:

jdk: Fix a whole bunch of warnings and a few build errors.

GCC is more strict than MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/share/bin/java.c

    r278 r333  
    205205    int ret;
    206206    InvocationFunctions ifn;
    207     jlong start, end;
     207    jlong start = 0, end;
    208208    char jrepath[MAXPATHLEN], jvmpath[MAXPATHLEN];
    209209    char ** original_argv = argv;
     
    389389    jobjectArray mainArgs;
    390390    int ret = 0;
    391     jlong start, end;
     391    jlong start = 0, end;
    392392
    393393    /*
     
    13901390    char *s = buf, *t = name, c;
    13911391    jclass cls;
    1392     jlong start, end;
     1392    jlong start = 0, end;
    13931393
    13941394    if (_launcher_debug)
     
    18091809    int cnt = 0;
    18101810    int lineno = 0;
    1811     jlong start, end;
     1811    jlong start = 0, end;
    18121812    int vmType;
    18131813    char *tmpPtr;
Note: See TracChangeset for help on using the changeset viewer.