Remove call to function logger
It isn't really necessary here and it helps us get rid of some link pollution so we can have a slim vercmp binary. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
2a6f3f0652
commit
4f80993933
1 changed files with 0 additions and 3 deletions
|
@ -21,7 +21,6 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* libalpm */
|
/* libalpm */
|
||||||
#include "log.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
/** Compare two version strings and determine which one is 'newer'.
|
/** Compare two version strings and determine which one is 'newer'.
|
||||||
|
@ -50,8 +49,6 @@ int SYMEXPORT alpm_pkg_vercmp(const char *a, const char *b)
|
||||||
int isnum;
|
int isnum;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
ALPM_LOG_FUNC;
|
|
||||||
|
|
||||||
/* libalpm added code. ensure our strings are not null */
|
/* libalpm added code. ensure our strings are not null */
|
||||||
if(!a) {
|
if(!a) {
|
||||||
if(!b) return(0);
|
if(!b) return(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue