Skip to content

Commit

Permalink
Merge pull request #201 from RadWolfie/hotfix-endless-loop
Browse files Browse the repository at this point in the history
HOTFIX: fix endless loop for dependency flag check is completed or not
  • Loading branch information
ergo720 authored Oct 28, 2023
2 parents 0884e10 + 8b1ba21 commit 62dd7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/libXbSymbolDatabase.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ uint32_t XbSymbolDatabase_GetLibraryDependencies(uint32_t library_flag, XbSDBLib
ret_dependencies |= library_filters.filters[i].flag;
}
}
// If flag dependency is/are found, then return those.
if (ret_dependencies) {
// If library filters were given, then return any dependencies that were found.
if (library_filters.count) {
return ret_dependencies;
}
// If not, then return whole dependency filters.
Expand Down

0 comments on commit 62dd7eb

Please sign in to comment.