Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit af0a31f

Browse files
committed
Trivial: move variable declaration into only scope in which it's used
1 parent 4355ff0 commit af0a31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/HapCompressor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ Hap_CClose(
208208
ComponentInstance self HAP_ATTR_UNUSED)
209209
{
210210
HapCodecBufferRef buffer;
211-
HapCodecBufferRef next;
212211
if( glob )
213212
{
214213
#ifdef DEBUG
@@ -259,6 +258,7 @@ Hap_CClose(
259258
buffer = glob->finishedFrames;
260259
while (buffer) {
261260
HapCodecCompressTask *task = (HapCodecCompressTask *)HapCodecBufferGetBaseAddress(buffer);
261+
HapCodecBufferRef next;
262262
if (task)
263263
{
264264
releaseTaskFrames(task);

0 commit comments

Comments
 (0)