]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Add a comment to clarify some piece of code.
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 4 Oct 2015 14:45:32 +0000 (16:45 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 4 Oct 2015 14:45:32 +0000 (16:45 +0200)
btree_cache.c

index 5ce689de8f11c75dfb4ffe57fe24beadb2536d78..5f5caeb8ddeb5a8ee5047ae290e964962f76c82a 100644 (file)
@@ -257,7 +257,7 @@ static void balance_node(struct bt *node)
                        rotate_left(node);
                        rotate_left(node);
                        break;
-               default:
+               default://compiler pacifier: should never happen!
                        debuga(__FILE__,__LINE__,_("Failed to balance the b-tree cache"));
                        exit(EXIT_FAILURE);
                        break;