Skip to content

Commit 00644e2

Browse files
committed
Fix a typo
1 parent a6780a8 commit 00644e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sherpa-onnx/c-api/c-api.cc

-1
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,6 @@ const SherpaOnnxGeneratedAudio *SherpaOnnxOfflineTtsGenerateWithCallbackWithArg(
12811281
void SherpaOnnxDestroyOfflineTtsGeneratedAudio(
12821282
const SherpaOnnxGeneratedAudio *p) {
12831283
SHERPA_ONNX_LOGE("TTS is not enabled. Please rebuild sherpa-onnx");
1284-
return nullptr;
12851284
}
12861285

12871286
#endif // SHERPA_ONNX_ENABLE_TTS == 1

0 commit comments

Comments
 (0)