diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-09 10:54:58 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-09 11:01:17 -0700 |
commit | 7f43a321e59b998e731b36039b744138a2d5b776 (patch) | |
tree | 843500d6ede1b517dda49d53ab554823f16dc99e /AuFileName.c | |
parent | b98078c15874c12dfd4e01594ef9277897ade1df (diff) |
Autest.c: Fix -Wdiscarded-qualifiers warnings
Autest.c: In function ‘main’:
Autest.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | char *name = "XAU-TEST-1";
| ^~~~~~~~~~~~
Autest.c:39:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
39 | char *data = "Do not begin the test until instructed to do so.";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Autest.c:57:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
57 | test_data.address = "";
| ^
Autest.c:59:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
59 | test_data.number = "";
| ^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'AuFileName.c')
0 files changed, 0 insertions, 0 deletions