always initialize the `ret' variable in file() and meta_dirrm() in order to avoid returning undefined value.
modified libpkg/pkg_ports.c
@@ -214,7 +214,7 @@ meta_dirrm(struct plist *p, char *line, struct file_attr *a, bool try)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -283,7 +283,7 @@ file(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -341,7 +341,7 @@ file(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|