{"action":"created","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/129","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/129/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/129/events","html_url":"https://github.com/jens-maus/yam/issues/129","id":149292819,"number":129,"title":"Review all function argument to use 'const' if possible.","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jens-maus/yam/labels/%23minor","name":"#minor","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/@high","name":"@high","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/Coding/Memory","name":"Coding/Memory","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/task","name":"task","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/worksforme","name":"worksforme","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jens-maus/yam/milestones/1","html_url":"https://github.com/jens-maus/yam/milestones/YAM%202.7","labels_url":"https://api.github.com/repos/jens-maus/yam/milestones/1/labels","id":1715353,"number":1,"title":"YAM 2.7","description":"[[TicketQuery(milestone=YAM 2.7, order=resolution, desc=1, format=table, col=id|type|status|resolution|priority|summary)]]","creator":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":31,"state":"closed","created_at":"2016-04-18T21:11:54Z","updated_at":"2016-04-18T22:44:26Z","due_on":"2011-12-19T23:00:00Z","closed_at":"2016-04-18T21:11:54Z"},"comments":1,"created_at":"2016-04-18T22:44:21Z","updated_at":"2016-04-18T22:44:28Z","closed_at":"2016-04-18T22:44:26Z","body":"**Originally on 2010-03-06 00:40:52 +0100**\n\n___\nAccording to make YAM more secure, especially in upcoming multitasking handling, it would be usefull to review all function arguments of all functions if they may be changed to contain the 'const' qualifier so that the compiler warns in case a change may affect the content of an argument."},"comment":{"url":"https://api.github.com/repos/jens-maus/yam/issues/comments/211616373","html_url":"https://github.com/jens-maus/yam/issues/129#issuecomment-211616373","issue_url":"https://api.github.com/repos/jens-maus/yam/issues/129","id":211616373,"user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T22:44:27Z","updated_at":"2016-04-18T22:44:27Z","body":"**Originally by _tboeckel@gmx.de_ on 2010-12-18 23:31:52 +0100**\n\n___\nFrom my point of view this ticket is fulfilled. Although the \"const\" keywords is not used for all functions where it could be used, but I think most functions make use of it whenever it is possible.\n\nIf this ticket is to be fulfilled 100% then it will never be closed, because future functions may be implemented without \"const\" in the first place and thus we would have to reopen this one over and over again.\n\nSo better keep in mind to add \"const\" at as much places as possible. If this forgotten too easily then perhaps this should be noted in the STYLEGUIDE.\n\nClosing this as \"works for me\", because there is no better suiting description."}}