httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@hyperreal.com>
Subject cvs commit: apache/src http_bprintf.c
Date Tue, 28 May 1996 02:55:25 GMT
chuck       96/05/27 19:55:24

  Modified:    src       http_bprintf.c
  Log:
  Avoid several uninitialized variable warnings with -Wall.
  
  Revision  Changes    Path
  1.2       +7 -5      apache/src/http_bprintf.c
  
  Index: http_bprintf.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_bprintf.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -C3 -r1.1 -r1.2
  *** http_bprintf.c	1996/05/27 21:12:57	1.1
  --- http_bprintf.c	1996/05/28 02:55:23	1.2
  ***************
  *** 62,69 ****
        {
        const char *f,*fStop,*percentPtr,*p;
        char *fmtBuffPtr, *buffPtr;
  !     int op, performedOp, sizeModifier, buffCount, buffLen, specifierLength;
  !     int fastPath, n, auxBuffLen, buffReqd, minWidth, precision, exp;
        char *auxBuffPtr = NULL;
        int streamCount = 0;
        char fmtBuff[FMT_BUFFLEN];
  --- 62,71 ----
        {
        const char *f,*fStop,*percentPtr,*p;
        char *fmtBuffPtr, *buffPtr;
  !     int op, performedOp, sizeModifier, buffLen, specifierLength;
  !     int fastPath, n, buffReqd, minWidth, precision, exp;
  !     int buffCount = 0;
  !     int auxBuffLen = 0;
        char *auxBuffPtr = NULL;
        int streamCount = 0;
        char fmtBuff[FMT_BUFFLEN];
  ***************
  *** 75,87 ****
        unsigned unsignedArg;
        unsigned long uLongArg;
        unsigned short uShortArg;
  !     char *charPtrArg;
        void *voidPtrArg;
        int *intPtrArg;
        long *longPtrArg;
        short *shortPtrArg;
  !     double doubleArg;
  !     LONG_DOUBLE lDoubleArg;
    
        fmtBuff[0] = '%';
        f=format;
  --- 77,89 ----
        unsigned unsignedArg;
        unsigned long uLongArg;
        unsigned short uShortArg;
  !     char *charPtrArg = NULL;
        void *voidPtrArg;
        int *intPtrArg;
        long *longPtrArg;
        short *shortPtrArg;
  !     double doubleArg = 0.0;
  !     LONG_DOUBLE lDoubleArg = 0.0;
    
        fmtBuff[0] = '%';
        f=format;
  
  
  

Mime
View raw message