Commit 24e6717
loader: Use "const char*" for string literals
Previously in the loader code, there were some function arguments
and variables of `char *` type that stores string literals.
This triggers compiler warnings when `-Wwrite-strings` is enabled
(which is enabled by default if compiling C++).
This change replaces `char*` with `const char*` for such variables
and arguments.
Bug: https://fxbug.dev/378964821
Change-Id: I14b2156294c329c78e51c7c8a33d3db7690fb8511 parent c2326cc commit 24e6717
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3126 | 3126 | | |
3127 | 3127 | | |
3128 | 3128 | | |
3129 | | - | |
3130 | | - | |
| 3129 | + | |
| 3130 | + | |
3131 | 3131 | | |
3132 | 3132 | | |
3133 | 3133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
0 commit comments