httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-apreq/c apache_multipart_buffer.c
Date Tue, 12 Jun 2001 21:17:21 GMT
dougm       01/06/12 14:17:21

  Modified:    Request  Request.xs
               c        apache_multipart_buffer.c
  Log:
  get rid of -Wall warnings
  
  Revision  Changes    Path
  1.19      +6 -2      httpd-apreq/Request/Request.xs
  
  Index: Request.xs
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Request/Request.xs,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Request.xs	2001/06/12 21:11:25	1.18
  +++ Request.xs	2001/06/12 21:17:20	1.19
  @@ -217,8 +217,12 @@
   
   static void clear_hook(void *ptr) {
      Hook *hook = (Hook*) ptr;
  -   hook->sub != Nullsv && sv_2mortal(hook->sub);
  -   hook->data != Nullsv && sv_2mortal(hook->data);
  +   if (hook->sub != Nullsv) {
  +       (void)sv_2mortal(hook->sub);
  +   }
  +   if (hook->data != Nullsv) {
  +       (void)sv_2mortal(hook->data);
  +   }
   }
   
   
  
  
  
  1.6       +0 -1      httpd-apreq/c/apache_multipart_buffer.c
  
  Index: apache_multipart_buffer.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/c/apache_multipart_buffer.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- apache_multipart_buffer.c	2001/02/24 18:13:46	1.5
  +++ apache_multipart_buffer.c	2001/06/12 21:17:21	1.6
  @@ -182,7 +182,6 @@
   /* finds a boundary */
   int find_boundary(multipart_buffer *self, char *boundary)
   {
  -    int len, bound_len = strlen(boundary);
       char *line;
       
       /* loop thru lines */
  
  
  

Mime
View raw message