![]() |
爱看书的卤蛋 · lua库函数 - Mr. Ant · 3 天前 · |
![]() |
潇洒的荒野 · 字串數據類型 - Visual Basic ...· 昨天 · |
![]() |
任性的抽屉 · String 類別 (System) | ...· 昨天 · |
![]() |
霸气的麦片 · Android入门之使用RecyclerVi ...· 昨天 · |
![]() |
光明磊落的镜子 · java如何去除String末尾换行的符号_ ...· 22 小时前 · |
![]() |
礼貌的鸡蛋面 · 用Audio2Face导出驱动MetaHum ...· 9 月前 · |
![]() |
逃课的蚂蚁 · unity崩溃重启之后场景东西部分丢失-掘金· 1 年前 · |
![]() |
精明的茶叶 · 支持HLS的自定义C#服务器· 1 年前 · |
![]() |
温暖的啄木鸟 · ansible常用模块 - 简书· 2 年前 · |
![]() |
心软的铁板烧 · CSS 方法论完全总结 - 掘金· 2 年前 · |
![]() |
爱喝酒的皮带
2 年前 |
![]() |
爱看书的卤蛋 · lua库函数 - Mr. Ant 3 天前 |
![]() |
逃课的蚂蚁 · unity崩溃重启之后场景东西部分丢失-掘金 1 年前 |
![]() |
精明的茶叶 · 支持HLS的自定义C#服务器 1 年前 |
![]() |
温暖的啄木鸟 · ansible常用模块 - 简书 2 年前 |
![]() |
心软的铁板烧 · CSS 方法论完全总结 - 掘金 2 年前 |
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV
All Answers
I think it is a simple code issue
Just make your return results; statment at the end before the last " } " . I mean by before closing the function write your return results so you must also initailize your result variable at the start of the function and not inside any block of code.
This error pops up because the function is suppose to return string but in some branch section of your code it doesn't return anything
Let me if the solution helps.
Thanks and Regards,
Shiva RV
I'm not sure what you mean. I should move my results variable definition to ouside my if statement?
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV