]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Tidy up
authorNick Porter <nick@portercomputing.co.uk>
Fri, 9 Feb 2024 12:43:46 +0000 (12:43 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 9 Feb 2024 14:55:22 +0000 (14:55 +0000)
src/modules/rlm_files/rlm_files.c

index 4287a2934a9eaca7ccfa266f99579430f794c98f..757cf6f91c0faf2fbe05200ff879759df5aa79a0 100644 (file)
@@ -540,24 +540,18 @@ redo:
                        goto fail;
                }
 
-               if (pl->fall_through) {
-                       continue;
-               }
+               if (pl->fall_through) continue;
 
                /*
                 *      We're not doing patricia tries.  Stop now.
                 */
-               if (!trie) {
-                       break;
-               }
+               if (!trie) break;
 
                /*
                 *      We're doing patricia tries, but we've been
                 *      told to not walk back up the trie, OR we're at the top of the tree.  Stop.
                 */
-               if (!pl->next_shortest_prefix || (keylen == 0)) {
-                       break;
-               }
+               if (!pl->next_shortest_prefix || (keylen == 0)) break;
 
                /*
                 *      Walk back up the trie looking for shorter prefixes.