File 0005-spa-fix-documentation-for-spa_atoi32.patch of Package pipewire.30043

From c3ab4ec9dccfbbe125ef68556a95b33843ded3b4 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed, 2 Jun 2021 14:57:37 +1000
Subject: [PATCH] spa: fix documentation for spa_atoi32

The val isn't undefined on failure, it's unmodified.
---
 spa/include/spa/utils/string.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spa/include/spa/utils/string.h b/spa/include/spa/utils/string.h
index 30fc5ceb81..363ad823ba 100644
--- a/spa/include/spa/utils/string.h
+++ b/spa/include/spa/utils/string.h
@@ -65,7 +65,7 @@ static inline bool spa_strneq(const char *s1, const char *s2, size_t len)
  * Convert \a str to an int32_t with the given \a base and store the
  * result in \a val.
  *
- * On failure, the value of \a val is undefined.
+ * On failure, the value of \a val is unmodified.
  *
  * \return true on success, false otherwise
  */
-- 
GitLab

openSUSE Build Service is sponsored by