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

warninglevel에서의 경고와 자잘한 문제점들 #11

Closed
woozu99 opened this issue May 28, 2019 · 1 comment
Closed

warninglevel에서의 경고와 자잘한 문제점들 #11

woozu99 opened this issue May 28, 2019 · 1 comment
Labels
invalid This doesn't seem right

Comments

@woozu99
Copy link
Collaborator

woozu99 commented May 28, 2019

  1. utilityfunctions.c 에서 IsGameReset 함수 내부에 char 변수가 null값을 받도록 되어있는 부분이 있다.(user = NULL;)

  2. scanf_s는 표준이 아님

3.IsGameReset()함수가 if, else if로 끝남.

@woozu99 woozu99 added the invalid This doesn't seem right label May 28, 2019
@woozu99
Copy link
Collaborator Author

woozu99 commented May 28, 2019

user는 ' '를 초기값으로 가지도록 변경해였으며, scanf_s는 scanf로 바꾸었습니다.
그리고 IsGameReset()함수는 구조를 수정하여 해당 이슈를 해결하였습니다.

@woozu99 woozu99 closed this as completed May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant