diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-01-02 16:18:14 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-01-02 16:18:14 +0000 |
commit | 961540c8ed73bb2c2252b032745b214956428676 (patch) | |
tree | 745adbc54377f58415285e570abeb084d861ea89 /RPM4/src/RPM4.xs | |
parent | af48368712593c700d8e4e464982b9db1ccf03c0 (diff) | |
download | perl-RPM4-961540c8ed73bb2c2252b032745b214956428676.tar perl-RPM4-961540c8ed73bb2c2252b032745b214956428676.tar.gz perl-RPM4-961540c8ed73bb2c2252b032745b214956428676.tar.bz2 perl-RPM4-961540c8ed73bb2c2252b032745b214956428676.tar.xz perl-RPM4-961540c8ed73bb2c2252b032745b214956428676.zip |
(logcallback) fix it not returning any valyes (since introduced years ago)
fix "warning: control reaches end of non-void function [-Wreturn-type]"
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@169 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r-- | RPM4/src/RPM4.xs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 43b9368..57265c2 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -319,6 +319,7 @@ int logcallback(rpmlogRec rec, rpmlogCallbackData data) { call_sv(log_callback_function, G_DISCARD | G_SCALAR); SPAGAIN; } + return RPMLOG_DEFAULT; } /************************************************** |