OSSP CVS Repository

ossp - Check-in [5182]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5182
Date: 2005-Sep-25 12:41:18 (local)
2005-Sep-25 10:41:18 (UTC)
User:rse
Branch:
Comment: consistent style: always use 'return'
Tickets:
Inspections:
Files:
ossp-pkg/uuid/uuid++.cc      1.3 -> 1.4     7 inserted, 0 deleted

ossp-pkg/uuid/uuid++.cc 1.3 -> 1.4

--- uuid++.cc    2005/08/31 20:08:15     1.3
+++ uuid++.cc    2005/09/25 10:41:18     1.4
@@ -50,6 +50,7 @@
     uuid_rc_t rc;
     if ((rc = uuid_clone(obj.ctx, &ctx)) != UUID_RC_OK)
         throw uuid_error_t(rc);
+    return;
 }
 
 /*  extra constructor via C API object */
@@ -60,6 +61,7 @@
         throw uuid_error_t(UUID_RC_ARG);
     if ((rc = uuid_clone(obj, &ctx)) != UUID_RC_OK)
         throw uuid_error_t(rc);
+    return;
 }
 
 /*  extra constructor via binary representation */
@@ -71,6 +73,7 @@
     if ((rc = uuid_create(&ctx)) != UUID_RC_OK)
         throw uuid_error_t(rc);
     import(bin);
+    return;
 }
 
 /*  extra constructor via string representation */
@@ -82,12 +85,14 @@
     if ((rc = uuid_create(&ctx)) != UUID_RC_OK)
         throw uuid_error_t(rc);
     import(str);
+    return;
 }
 
 /*  standard destructor */
 uuid::~uuid()
 {
     uuid_destroy(ctx);
+    return;
 }
 
 /*  assignment operator: import of other C++ API object */
@@ -235,6 +240,7 @@
     uuid_rc_t rc;
     if ((rc = uuid_import(ctx, UUID_FMT_BIN, bin, UUID_LEN_BIN)) != UUID_RC_OK)
         throw uuid_error_t(rc);
+    return;
 }
 
 /*  method: import string representation */
@@ -243,6 +249,7 @@
     uuid_rc_t rc;
     if ((rc = uuid_import(ctx, UUID_FMT_STR, str, UUID_LEN_STR)) != UUID_RC_OK)
         throw uuid_error_t(rc);
+    return;
 }
 
 /*  method: export binary representation */

CVSTrac 2.0.1