1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:printing: Rename variably to dummy to make codespell happy

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Andreas Schneider 2023-07-13 09:25:50 +02:00 committed by Andreas Schneider
parent 73abbd1465
commit 1517fd1709

View File

@ -2462,10 +2462,10 @@ static WERROR allocate_print_jobid(struct tdb_print_db *pdb, int snum,
/* Store a dummy placeholder. */
{
uint32_t tmp;
TDB_DATA dum;
dum.dptr = NULL;
dum.dsize = 0;
if (tdb_store(pdb->tdb, print_key(jobid, &tmp), dum,
TDB_DATA dummy = {
.dsize = 0,
};
if (tdb_store(pdb->tdb, print_key(jobid, &tmp), dummy,
TDB_INSERT) != 0) {
DEBUG(3, ("allocate_print_jobid: "
"jobid (%d) failed to store placeholder.\n",