<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - initialization loop in CARingBuffer::allocate not working because it's not iterating using a reference"
href="https://bugs.webkit.org/show_bug.cgi?id=155682">155682</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>initialization loop in CARingBuffer::allocate not working because it's not iterating using a reference
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Platform
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tobias.netzel@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=274516" name="attach_274516" title="patch to make the loop iterate using a reference">attachment 274516</a> <a href="attachment.cgi?id=274516&action=edit" title="patch to make the loop iterate using a reference">[details]</a></span>
patch to make the loop iterate using a reference
GCC (yes, I'm compiling for OS X but using GCC 5.3) correctly indicated that "variable 'timeBounds' set but not used".
Adding the missing reference to the type fixes the warning; the attached patch shows where.
Someone should pick this up and create a commit ready patch as I myself don't have the possibility to test on current OS X versions.
Maybe clang people should also be informed that their compiler doesn't warn this issue - or does clang automatically use a reference?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>