summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/sso_substr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/sso_substr.c b/examples/sso_substr.c
index 098d9b4b..0c8e9b22 100644
--- a/examples/sso_substr.c
+++ b/examples/sso_substr.c
@@ -14,9 +14,7 @@ int main ()
cstr_assign(&str, "apples are green or red");
cstr s2 = cstr_from_sv(cstr_substr_ex(&str, -3, 3)); // "red"
cstr s3 = cstr_from_sv(cstr_substr_ex(&str, 0, 6)); // "apples"
- #ifndef STC_CSTR_V1
printf("%s %s: %d, %d\n", cstr_str(&s2), cstr_str(&s3),
cstr_is_long(&str), cstr_is_long(&s2));
- #endif
c_drop (cstr, &str, &s2, &s3);
}