Skip to content

Commit

Permalink
bfile.cc: fix class-memaccess warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and franku committed Nov 5, 2019
1 parent 9a3d1f1 commit 0f9afc0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions core/src/findlib/bfile.cc
Expand Up @@ -3,7 +3,7 @@
Copyright (C) 2003-2010 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
Copyright (C) 2013-2016 Bareos GmbH & Co. KG
Copyright (C) 2013-2019 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 @@ -983,11 +983,7 @@ boffset_t blseek(BareosWinFilePacket* bfd, boffset_t offset, int whence)
*
* ===============================================================
*/
void binit(BareosWinFilePacket* bfd)
{
memset(bfd, 0, sizeof(BareosWinFilePacket));
bfd->fid = -1;
}
void binit(BareosWinFilePacket* bfd) { bfd->fid = -1; }

bool have_win32_api() { return false; /* no can do */ }

Expand Down

0 comments on commit 0f9afc0

Please sign in to comment.