[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/csmith] 91faaa: Avoid GCC warnings about empty loops.



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/csmith

  Commit: 91faaa79934324dba21fdf91cc3b0f539d0508c8
      https://github.com/csmith-project/csmith/commit/91faaa79934324dba21fdf91cc3b0f539d0508c8
  Author: Eric Eide <eeide@cs.utah.edu>
  Date:   2011-08-12 (Fri, 12 Aug 2011)

  Changed paths:
    M src/FactPointTo.cpp
  M src/FactUnion.cpp
  M src/Variable.cpp

  Log Message:
  -----------
  Avoid GCC warnings about empty loops.

This construct leads to warnings: for (...);
Do this instead:                  for (...) { /*Empty. */ }