mickours / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

Dead code removal. #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the inotify.c file:

Line 181 has:
    else if (IN_MOVED_FROM & event->mask) {

Line 196 has:
    else if (IN_MOVED_FROM & event->mask) {

These conditions are exactly the same and belong to the same if block section.  
In other words the second time this condition appears will never be executed.  
I could see this leading to some confusion in the future so I thought I would 
bring it up.

Cheers,

Randy

Original issue reported on code.google.com by randy.re...@gmail.com on 23 May 2011 at 9:11

GoogleCodeExporter commented 9 years ago
Removed from SVN. Thank you.

Original comment by axk...@gmail.com on 11 Jun 2011 at 2:26