projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ad2c22d
)
avoid warning of empty struct decls
author
Michael Wallner
<mike@php.net>
Tue, 17 Oct 2017 08:49:11 +0000
(10:49 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 17 Oct 2017 08:49:11 +0000
(10:49 +0200)
src/types/decl_struct.c
patch
|
blob
|
history
diff --git
a/src/types/decl_struct.c
b/src/types/decl_struct.c
index ffd0efc5d5df52bfb9de279cf111be668bf30d50..a636115d3412087525b29b5dea5556d36c7ccdab 100644
(file)
--- a/
src/types/decl_struct.c
+++ b/
src/types/decl_struct.c
@@
-92,8
+92,6
@@
bool psi_decl_struct_validate(struct psi_data *data, struct psi_decl_struct *s,
}
if (!s->size && !psi_plist_count(s->args)) {
- data->error(data, s->token, PSI_WARNING,
- "Cannot compute size of empty struct '%s'", s->name);
return false;
}