]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
script: Document why this block is intentionally blank.
authorRoy Marples <roy@marples.name>
Sat, 7 Dec 2019 21:29:40 +0000 (21:29 +0000)
committerRoy Marples <roy@marples.name>
Sat, 7 Dec 2019 21:29:40 +0000 (21:29 +0000)
src/script.c

index 32bffae7596e2a5e68ecb50a2b87c3b0236816df..b802e12d510bac670f9a5bab1c28176247dd8df3 100644 (file)
@@ -274,7 +274,10 @@ make_env(const struct interface *ifp, const char *reason)
        d6_state = D6_CSTATE(ifp);
 #endif
        if (strcmp(reason, "TEST") == 0) {
-               if (1 == 2) {}
+               if (1 == 2) {
+                       /* This space left intentionally blank
+                        * as all the below statements are optional. */
+               }
 #ifdef INET6
 #ifdef DHCP6
                else if (d6_state && d6_state->new)