Changeset 24041


Ignore:
Timestamp:
05/19/11 10:52:45 (10 years ago)
Author:
jmt12
Message:

Removing trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/tdb-edit/trunk/src/src/tdbdel-src/tdbdel.cpp

    r24000 r24041  
    4747/**
    4848 */
    49 void 
    50 printUsage (char *program_name) 
     49void
     50printUsage (char *program_name)
    5151{
    5252  cerr << "usage: " << program_name << " <database_path> <key>" << endl;
     
    5858 */
    5959int
    60 main (int argc, char *argv[]) 
     60main (int argc, char *argv[])
    6161{
    6262  // sanity check
    63   if (argc != 3) 
     63  if (argc != 3)
    6464  {
    6565    printUsage(argv[0]);
     
    7777    cerr << "couldn't create " << dbname << endl;
    7878    exit (0);
    79   } 
     79  }
    8080
    8181  TDB_DATA key;
     
    8383  key.dptr = (unsigned char*)argv[2];
    8484
    85   int status = tdb_delete (tdb, key); 
    86  
     85  int status = tdb_delete (tdb, key);
     86
    8787  // status:
    8888  //   0 == delete OK
     
    9797  tdb_close (tdb);
    9898
    99   return status; 
     99  return status;
    100100}
    101101/** main() **/
Note: See TracChangeset for help on using the changeset viewer.