warning fix read.c
read.c:148:13: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
147 | "Ms. Palm's House of Negotiable Affection--A Very Reputable"
|
| ,
148 | " House Of Disrepute",
| ^
read.c:147:9: note: place parentheses around the string literal to silence warning
147 | "Ms. Palm's House of Negotiable Affection--A Very Reputable"
| ^
1 warning generated.
This commit is contained in:
@@ -144,8 +144,8 @@ tshirt_text(struct obj *tshirt, char *buf)
|
|||||||
"Minetown Better Business Bureau",
|
"Minetown Better Business Bureau",
|
||||||
"Minetown Watch",
|
"Minetown Watch",
|
||||||
/* Discworld riff; unfortunately long */
|
/* Discworld riff; unfortunately long */
|
||||||
"Ms. Palm's House of Negotiable Affection--A Very Reputable"
|
("Ms. Palm's House of Negotiable Affection--A Very Reputable"
|
||||||
" House Of Disrepute",
|
" House Of Disrepute"),
|
||||||
"Protection Racketeer",
|
"Protection Racketeer",
|
||||||
"Real men love Crom",
|
"Real men love Crom",
|
||||||
"Somebody stole my Mojo!",
|
"Somebody stole my Mojo!",
|
||||||
|
|||||||
Reference in New Issue
Block a user