Fix the compiler warnings
Merge pull request #1396 from zsxwing/rxscala-fix-warning

RxScala: Fix the compiler warnings