apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/locks/os2 locks.c
Date Wed, 06 Jun 2001 03:18:44 GMT
bjh         01/06/05 20:18:44

  Modified:    locks/os2 locks.c
  Log:
  Stop warnings about rc being used uninitialized.
  
  Revision  Changes    Path
  1.32      +4 -0      apr/locks/os2/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/os2/locks.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- locks.c	2001/06/06 03:12:48	1.31
  +++ locks.c	2001/06/06 03:18:43	1.32
  @@ -150,6 +150,8 @@
           break;
       case APR_READWRITE:
           return APR_ENOTIMPL;
  +    default:
  +        return APR_EINVAL;
       }
   
       return APR_OS2_STATUS(rc);
  @@ -218,6 +220,8 @@
           break;
       case APR_READWRITE:
           return APR_ENOTIMPL;
  +    default:
  +        return APR_EINVAL;
       }
           
       return APR_OS2_STATUS(rc);
  
  
  

Mime
View raw message