Commit 5ce8ef6
Fix a compiler diagnostic with Clang 22
The code contains a call to std::string::size() as a statement on its own. The function doesn't have side effects, thus, the call is a no-op, which also triggers the -Wunused-result Clang diagnostic.1 parent cf9e9f2 commit 5ce8ef6
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments