![]() |
坚强的板栗 · 第24天 Kotlin小學堂(13) : ...· 4 天前 · |
![]() |
聪明的大脸猫 · Java解析JSON文件「建议收藏」开发者社区· 23 小时前 · |
![]() |
叛逆的脸盆 · 精讲RestTemplate第3篇-GET请 ...· 19 小时前 · |
![]() |
道上混的沙发 · C#访问共享服务器的文件路径进行上传和下载方 ...· 13 小时前 · |
![]() |
礼貌的课本 · 密钥保管库机密与模板 - Azure ...· 3 小时前 · |
![]() |
火星上的油条 · win32gui - How to get ...· 1 年前 · |
![]() |
欢乐的砖头 · Django ...· 1 年前 · |
![]() |
爱吹牛的香烟 · Python中使用正则表达式获取两个字符中间 ...· 2 年前 · |
![]() |
冲动的消炎药 · 模块计算机类型x86与目标计算机类型合集-百度文库· 2 年前 · |
![]() |
爱喝酒的皮带
2 年前 |
![]() |
聪明的大脸猫 · Java解析JSON文件「建议收藏」开发者社区 23 小时前 |
![]() |
叛逆的脸盆 · 精讲RestTemplate第3篇-GET请求使用方法详解开发者社区 19 小时前 |
![]() |
道上混的沙发 · C#访问共享服务器的文件路径进行上传和下载方法 - 小小邪 13 小时前 |
![]() |
火星上的油条 · win32gui - How to get a window title and scan it every 100ms use python? - Stack Overflow 1 年前 |
![]() |
冲动的消炎药 · 模块计算机类型x86与目标计算机类型合集-百度文库 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