[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f5bb23f 1/9: Improve product-verifier control
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f5bb23f 1/9: Improve product-verifier control flow |
Date: |
Tue, 18 Jun 2019 16:43:54 -0400 (EDT) |
branch: master
commit f5bb23f615cc5440f9862a993e2fe4e5bbb3d27d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve product-verifier control flow
Kept 'return' for errors, but replaced 'return' with 'break' for other
cases in a switch statement, to allow further tests to be added.
---
verify_products.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/verify_products.cpp b/verify_products.cpp
index ec6d6c6..ebdf88b 100644
--- a/verify_products.cpp
+++ b/verify_products.cpp
@@ -112,8 +112,8 @@ void verify_one_cell
<< ' ' << smoking
<< std::endl
;
- return;
}
+ break;
// Validate an external table. Passing this test means that
// the external table is identical to the published CSO table,
// and that the external table can be discarded and its
@@ -184,8 +184,8 @@ void verify_one_cell
<< std::endl
;
}
- return;
}
+ break;
}
}
} // Unnamed namespace.
- [lmi-commits] [lmi] master updated (e019e5b -> 246081b), Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master f5bb23f 1/9: Improve product-verifier control flow,
Greg Chicares <=
- [lmi-commits] [lmi] master d89b244 6/9: Make cover page the same for all formats but one, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master ba624fe 4/9: Refactor, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master e90a3d1 2/9: Rename arguments, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master 8af7bed 5/9: Apply a recent FINRA header change to Reg D formats, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master 57bee69 3/9: Remove an ugly expedient, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master b4f5c34 8/9: Present 'AgentPhone' and 'AgentId' on all GUI skins, Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master 246081b 9/9: Use <border> to improve layout of 'skin.xrc', Greg Chicares, 2019/06/18
- [lmi-commits] [lmi] master e030aaa 7/9: Consolidate lower footer templates, Greg Chicares, 2019/06/18