]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix compilation
authorEric Bollengier <eric@baculasystems.com>
Tue, 5 Sep 2023 15:46:15 +0000 (17:46 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:02 +0000 (13:57 +0200)
bacula/src/dird/store_mngr.c

index 1338de764df15d7d0dc0a65474c9a7daad0fc227..a294f9066bb442bf9a41050f3d4d3035bc60e85d 100644 (file)
@@ -319,13 +319,6 @@ void storage::dec_curr_store() {
    Dmsg2(dbglvl, "Store: %s Dec ncj=%d\n", store->name(), num);
 }
 
-static void swapit(uint32_t *v1, uint32_t *v2)
-{
-   uint32_t temp = *v1;
-   *v1 = *v2;
-   *v2 = temp;
-}
-
 void QueryStore::apply_policy(bool write_store) {
    alist *list = write_store ? wstore.get_list() : rstore.get_list();
    STORE *store = NULL;