openSUSE/libzypp — comment on commit 717abca3d2d6eb6f573140f1d3790bb9a3aab71a
File: zypp/base/WatchPath.cc line 109
By mlandres:

- declare buf[/len when actually used.
- i is even worse; initialized here and used 20 lines later in 'while (i < len) '
consider 'for ( int i = 0; i < len; /*inremented in loop*/ ) if i is not used outside loop