projects
/
platform
/
core
/
appfw
/
xdgmime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c1b75
)
Fix return value for non-void function
sandbox/nmerinov/llvm
author
Nikolai Merinov
<n.merinov@samsung.com>
Fri, 1 Feb 2019 08:42:56 +0000
(11:42 +0300)
committer
Nikolai Merinov
<n.merinov@samsung.com>
Fri, 1 Feb 2019 08:42:56 +0000
(11:42 +0300)
xdgmime/src/xdgmimeglobs2.c
patch
|
blob
|
history
diff --git
a/xdgmime/src/xdgmimeglobs2.c
b/xdgmime/src/xdgmimeglobs2.c
index
00870e2
..
6d8758c
100644
(file)
--- a/
xdgmime/src/xdgmimeglobs2.c
+++ b/
xdgmime/src/xdgmimeglobs2.c
@@
-97,7
+97,7
@@
mime_type_info_add_file_name(mime_type_info *mti,
const char *mime_type,
const char *file_name)
{
- if(!mti) return;
+ if(!mti) return
-1
;
if(!mti->mime_type) {
mti->mime_type = strdup(mime_type);
@@
-176,7
+176,7
@@
mime_type_info_list_add_file_name(mime_type_info_list *mtil,
const char *mime_type,
const char *file_name)
{
- if(!mtil || !mime_type || !file_name) return;
+ if(!mtil || !mime_type || !file_name) return
-1
;
mime_type_info **mti;
int found = 0;