Skip to content

Commit

Permalink
Fixed some gcc 13.2 warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
vruppert committed Nov 23, 2023
1 parent 62c2c87 commit 32b8eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bochs/iodev/sound/opl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/////////////////////////////////////////////////////////////////////////
/*
* Copyright (C) 2002-2013 The DOSBox Team
* Copyright (C) 2015-2021 The Bochs Project
* Copyright (C) 2015-2023 The Bochs Project
* OPL2/OPL3 emulation library
*
* This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -62,7 +62,6 @@ static Bit32s vibval_var2[BLOCKBUF_SIZE];

// vibrato/trmolo value table pointers
static Bit32s *vibval1, *vibval2, *vibval3, *vibval4;
static Bit32s *tremval1, *tremval2, *tremval3, *tremval4;


// key scale level lookup table
Expand Down Expand Up @@ -1003,6 +1002,7 @@ bool adlib_getsample(Bit16u rate, Bit16s* sndptr, Bits numsamples, Bit16u volume
op_type* cptr;
bool opl_active = 0;

Bit32s *tremval1, *tremval2, *tremval3, *tremval4;
Bit32s outbufl[BLOCKBUF_SIZE];
#if defined(OPLTYPE_IS_OPL3)
// second output buffer (right channel for opl3 stereo)
Expand Down

0 comments on commit 32b8eda

Please sign in to comment.