summaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-06 10:49:55 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-06 10:50:20 -0400
commiteb4d2263fedf3e5ed6aebe07323614aad157da99 (patch)
tree625a9bf79f02f46e63624befc5863cc32a2a6819 /src/opt.c
parentc3f553b0babbad3a63265142d05820da76c27587 (diff)
downloadbfs-eb4d2263fedf3e5ed6aebe07323614aad157da99.tar.xz
Minor formatting fixes
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/opt.c b/src/opt.c
index c4da7b2..9b091bd 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -300,27 +300,27 @@ static void df_init_top(struct df_domain *value) {
/** Check for the top element. */
static bool df_is_top(const struct df_domain *value) {
- for (int i = 0; i < PRED_TYPES; ++i) {
- if (value->preds[i] != PRED_TOP) {
- return false;
- }
- }
-
- for (int i = 0; i < RANGE_TYPES; ++i) {
- if (!range_is_top(&value->ranges[i])) {
- return false;
- }
- }
-
- if (value->types != ~0U) {
- return false;
- }
-
- if (value->xtypes != ~0U) {
- return false;
- }
-
- return true;
+ for (int i = 0; i < PRED_TYPES; ++i) {
+ if (value->preds[i] != PRED_TOP) {
+ return false;
+ }
+ }
+
+ for (int i = 0; i < RANGE_TYPES; ++i) {
+ if (!range_is_top(&value->ranges[i])) {
+ return false;
+ }
+ }
+
+ if (value->types != ~0U) {
+ return false;
+ }
+
+ if (value->xtypes != ~0U) {
+ return false;
+ }
+
+ return true;
}
/** Compute the union of two fact sets. */