aboutsummaryrefslogtreecommitdiffstats
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c
index b73cea03..6a3219c7 100644
--- a/src/string.c
+++ b/src/string.c
@@ -41,6 +41,7 @@ serd_strerror(SerdStatus status)
case SERD_ERR_ID_CLASH: return (const uint8_t*)"Blank node ID clash";
case SERD_ERR_BAD_CURIE: return (const uint8_t*)"Invalid CURIE";
case SERD_ERR_INTERNAL: return (const uint8_t*)"Internal error";
+ default: break;
}
return (const uint8_t*)"Unknown error"; // never reached
}
@@ -54,6 +55,8 @@ serd_update_flags(const uint8_t c, SerdNodeFlags* const flags)
break;
case '"':
*flags |= SERD_HAS_QUOTE;
+ default:
+ break;
}
}