repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 6.4.7.2.M8
[LibreOffice.git]
/
external
/
liblangtag
/
Wformat-overflow.patch
blob
f2d017e4b3957a6b15f5b0611e4a7bce7434bfef
1
--- liblangtag/lt-script-db.c
2
+++ liblangtag/lt-script-db.c
3
@@ -134,8 +134,12 @@
4
cnode = cnode->next;
5
}
6
if (!subtag) {
7
- lt_warning("No subtag node: description = '%s'",
8
- desc);
9
+ if (!desc) {
10
+ lt_warning("No subtag nor description node");
11
+ } else {
12
+ lt_warning("No subtag node: description = '%s'",
13
+ desc);
14
+ }
15
goto bail1;
16
}
17
if (!desc) {