Browse Source

add missing return nil in SwiftSerialIM example

Yeo Kheng Meng 9 years ago
parent
commit
7c06c99bd1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Examples/SwiftSerialIM/Sources/main.swift

+ 1 - 0
Examples/SwiftSerialIM/Sources/main.swift

@@ -95,6 +95,7 @@ do {
         observer in
 
         backgroundRead()
+        return nil
     }
 
     pthread_create(&readingThread, nil, pthreadFunc, nil)