Use if instead of switch for delegating weaksum calls.
Use if instead of switch for delegating weaksum calls.

Tests show this is faster for gcc than the switch statements, as well as avoiding warnings.
dbaarda/librsync,sourcefrog/librsync,dbaarda/librsync,librsync/librsync,sourcefrog/librsync,dbaarda/librsync,sourcefrog/librsync,librsync/librsync,sourcefrog/librsync,dbaarda/librsync,librsync/librsync,librsync/librsync