Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/test/string.c

    rdd7df1c r06e0f37  
    799799PCUT_TEST(strndup_nonempty_short)
    800800{
    801 #pragma GCC diagnostic push
    802         // Intentionally checking it works with _longer_ size than actual
    803 #if defined(__GNUC__) && (__GNUC__ >= 11)
    804 #pragma GCC diagnostic ignored "-Wstringop-overread"
    805 #endif
    806801        char *d = strndup("abc", 5);
    807 #pragma GCC diagnostic pop
    808802        PCUT_ASSERT_NOT_NULL(d);
    809803        PCUT_ASSERT_TRUE(d[0] == 'a');
Note: See TracChangeset for help on using the changeset viewer.