Skip to content
Snippets Groups Projects

AgManager: Use AgAccountsError in set_error_from_db().

This is a follow-up to 6b39f6e ("Use new AgAccountsError internally"). Use the right enum type to avoid build errors with clang:

ag-manager.c:503:16: error: implicit conversion from enumeration type 'AgAccountsError' to different enumeration type 'AgError' [-Werror,-Wenum-conversion]
        code = AG_ACCOUNTS_ERROR_DB_LOCKED;
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ag-manager.c:508:16: error: implicit conversion from enumeration type 'AgAccountsError' to different enumeration type 'AgError' [-Werror,-Wenum-conversion]
        code = AG_ACCOUNTS_ERROR_DB;
             ~ ^~~~~~~~~~~~~~~~~~~~

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading