Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUST CSE]update ucloud_ai_demo.c #1992

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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][修改]函数缺少返回值 [HUST CSE]fix: Fixed return value of the function #1992 May 4, 2023
@FYINTE FYINTE changed the title [HUST CSE]fix: Fixed return value of the function #1992 [HUST CSE]fix: Fixed return value of the function 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

@YiluMao

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

Successfully merging this pull request may close these issues.

None yet

3 participants