]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Remove auto-adding of SELECTION_REL in selection_make_matchdeps
authorMichael Schroeder <mls@suse.de>
Thu, 16 Nov 2017 09:53:06 +0000 (10:53 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 16 Nov 2017 09:53:06 +0000 (10:53 +0100)
While this is strictly speaking a change in the API, I consider
it more like a bug fix. Nobody seems to be using selection_make_matchdeps
in production code yet, so I guess the change is ok.

src/selection.c

index 3afa8a2ed9a7b098aabbf592b0add177a50c85ca..609eeffdd9905692d983e78c4d95169e739104d2 100644 (file)
@@ -1275,7 +1275,6 @@ selection_make_matchdeps_limited(Pool *pool, Queue *selection, const char *name,
   if (!limiter->end)
     return 0;
 
-  flags |= SELECTION_REL;      /* XXX: remove */
   if ((flags & SELECTION_MATCH_DEPSTR) != 0)
     flags &= ~SELECTION_REL;