X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Flib%2Futil_str.c;fp=source3%2Flib%2Futil_str.c;h=eb36478d8a21abb3139d183c68fa4558424538f0;hb=16d14fa86321f30ce2798aa5e4b9be493c267807;hp=48e434f777ee548593759ea5c8917fa44de24b3a;hpb=9fed4562cae3e7e2b528b94176b6063522f332eb;p=samba.git diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 48e434f777e..eb36478d8a2 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -276,6 +276,8 @@ char *talloc_string_sub2(TALLOC_CTX *mem_ctx, const char *src, if (allow_trailing_dollar && (i == li - 1 )) { break; } + + FALL_THROUGH; case '`': case '"': case '\'': @@ -287,6 +289,8 @@ char *talloc_string_sub2(TALLOC_CTX *mem_ctx, const char *src, in[i] = '_'; break; } + + FALL_THROUGH; default: /* ok */ break;