Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. hi.c: In function ‘main’:
  2. hi.c:51:17: warning: statement with no effect [-Wunused-value]
  3. 51 | Course1Hours==4;
  4. | ~~~~~~~~~~~~^~~
  5. hi.c:53:17: warning: statement with no effect [-Wunused-value]
  6. 53 | Course1Hours==3;
  7. | ~~~~~~~~~~~~^~~
  8. hi.c:55:17: warning: statement with no effect [-Wunused-value]
  9. 55 | Course1Hours==1;
  10. | ~~~~~~~~~~~~^~~
  11. hi.c:57:17: warning: statement with no effect [-Wunused-value]
  12. 57 | Course1Hours==3;
  13. | ~~~~~~~~~~~~^~~
  14. hi.c:77:17: warning: statement with no effect [-Wunused-value]
  15. 77 | Course1Hours==4;
  16. | ~~~~~~~~~~~~^~~
  17. hi.c:79:17: warning: statement with no effect [-Wunused-value]
  18. 79 | Course1Hours==3;
  19. | ~~~~~~~~~~~~^~~
  20. hi.c:81:17: warning: statement with no effect [-Wunused-value]
  21. 81 | Course1Hours==1;
  22. | ~~~~~~~~~~~~^~~
  23. hi.c:83:17: warning: statement with no effect [-Wunused-value]
  24. 83 | Course1Hours==3;
  25. | ~~~~~~~~~~~~^~~
  26. hi.c:95:19: warning: statement with no effect [-Wunused-value]
  27. 95 | Course2Hours==4;
  28. | ~~~~~~~~~~~~^~~
  29. hi.c:97:19: warning: statement with no effect [-Wunused-value]
  30. 97 | Course2Hours==3;
  31. | ~~~~~~~~~~~~^~~
  32. hi.c:99:19: warning: statement with no effect [-Wunused-value]
  33. 99 | Course2Hours==1;
  34. | ~~~~~~~~~~~~^~~
  35. hi.c:101:19: warning: statement with no effect [-Wunused-value]
  36. 101 | Course2Hours==3;
  37. | ~~~~~~~~~~~~^~~
  38. hi.c:94:18: warning: statement will never be executed [-Wswitch-unreachable]
  39. 94 | if (Course2 == 4587)
  40. | ~~~~~~~~^~~~~~~
  41. hi.c:16:27: warning: ‘Course1Hours’ is used uninitialized in this function [-Wuninitialized]
  42. 16 | Payment1 = (Course1Hours * 120.25) ;
  43. | ~~~~~~~~~~~~~~^~~~~~~~~
  44. hi.c:17:27: warning: ‘Course2Hours’ is used uninitialized in this function [-Wuninitialized]
  45. 17 | Payment2 = (Course2Hours * 120.25) ;
  46. |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement