Skip to content

Commit

Permalink
format: apply bareos-check-sources changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 2, 2023
1 parent ad450ce commit 6880efa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/src/cats/sql_create.cc
Expand Up @@ -3,7 +3,7 @@
Copyright (C) 2000-2012 Free Software Foundation Europe e.V.
Copyright (C) 2011-2016 Planets Communications B.V.
Copyright (C) 2013-2022 Bareos GmbH & Co. KG
Copyright (C) 2013-2023 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -494,10 +494,8 @@ bool BareosDb::CreateMediaRecord(JobControlRecord* jcr, MediaDbRecord* mr)
dt, mr->MediaId);
retval = UPDATE_DB(jcr, cmd) > 0;
}
/*
* Make sure that if InChanger is non-zero any other identical slot
* has InChanger zero.
*/
/* Make sure that if InChanger is non-zero any other identical slot
* has InChanger zero. */
MakeInchangerUnique(jcr, mr);
}

Expand Down

0 comments on commit 6880efa

Please sign in to comment.