apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/test testfile.c
Date Thu, 01 Feb 2001 17:33:47 GMT
trawick     01/02/01 09:33:46

  Modified:    test     testfile.c
  Log:
  clean up gcc warning
  (testfile.c:74: warning: missing braces around initializer for `vfi[0]')
  
  Revision  Changes    Path
  1.29      +14 -14    apr/test/testfile.c
  
  Index: testfile.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testfile.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- testfile.c	2001/01/28 23:23:21	1.28
  +++ testfile.c	2001/02/01 17:33:42	1.29
  @@ -71,20 +71,20 @@
       apr_int32_t bits;
       char *description;
   } vfi[] = {
  -    APR_FINFO_MTIME,  "MTIME",
  -    APR_FINFO_CTIME,  "CTIME",
  -    APR_FINFO_ATIME,  "ATIME",
  -    APR_FINFO_SIZE,   "SIZE",
  -    APR_FINFO_DEV,    "DEV",
  -    APR_FINFO_INODE,  "INODE",
  -    APR_FINFO_NLINK,  "NLINK",
  -    APR_FINFO_TYPE,   "TYPE",
  -    APR_FINFO_USER,   "USER", 
  -    APR_FINFO_GROUP,  "GROUP", 
  -    APR_FINFO_UPROT,  "UPROT", 
  -    APR_FINFO_GPROT,  "GPROT",
  -    APR_FINFO_WPROT,  "WPROT",
  -    0,                NULL
  +    {APR_FINFO_MTIME,  "MTIME"},
  +    {APR_FINFO_CTIME,  "CTIME"},
  +    {APR_FINFO_ATIME,  "ATIME"},
  +    {APR_FINFO_SIZE,   "SIZE"},
  +    {APR_FINFO_DEV,    "DEV"},
  +    {APR_FINFO_INODE,  "INODE"},
  +    {APR_FINFO_NLINK,  "NLINK"},
  +    {APR_FINFO_TYPE,   "TYPE"},
  +    {APR_FINFO_USER,   "USER"}, 
  +    {APR_FINFO_GROUP,  "GROUP"}, 
  +    {APR_FINFO_UPROT,  "UPROT"}, 
  +    {APR_FINFO_GPROT,  "GPROT"},
  +    {APR_FINFO_WPROT,  "WPROT"},
  +    {0,                NULL}
   }; 
   
   int test_filedel(apr_pool_t *);
  
  
  

Mime
View raw message