Skip to content

Conversation

@FYINTE
Copy link

@FYINTE FYINTE commented Apr 28, 2023

为什么提交这份PR (why to submit this PR)
源文件:AliOS-Things\solutions\ucloud_ai_demo\ucloud_ai_demo.c
445行处的imagerecog_classifying_rubbish_callback和476行的imagerecog_detect_fruits_callback两个函数中并无返回值,但函数类型为int,未定义的返回值可能造成后续结果的混乱

你的解决方案是什么 (what is your solution)
在473行和500行处的函数结尾添加返回值return 0

在什么测试环境下测试通过 (what is the test environment)
已通过

@FYINTE FYINTE marked this pull request as ready for review April 28, 2023 13:35
@CLAassistant
Copy link

CLAassistant commented Apr 28, 2023

CLA assistant check
All committers have signed the CLA.

@FYINTE FYINTE marked this pull request as draft April 28, 2023 14:12
@FYINTE FYINTE marked this pull request as ready for review April 28, 2023 14:24
@FYINTE FYINTE changed the title [HUST CSE][修改]函数缺少返回值 May 4, 2023
@FYINTE FYINTE changed the title [HUST CSE]fix: Fixed return value of the function #1992 May 4, 2023
@YiluMao
Copy link
Collaborator

YiluMao commented May 4, 2023

patch的commit message写一下
不要只写2

@FYINTE
Copy link
Author

FYINTE commented May 4, 2023

patch的commit message写一下 不要只写2

好的,已经修改

@FYINTE
Copy link
Author

FYINTE commented May 11, 2023

@FYINTE FYINTE changed the title [HUST CSE]fix: Fixed return value of the function May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants