{"action":"opened","issue":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/81","labels_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/81/comments","events_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/81/events","html_url":"https://github.com/proj4-bot/proj.4/issues/81","id":79090645,"number":81,"title":"Patch for warnings and perhaps a bug","user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/C:%20default","name":"C: default","color":"0000aa"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/P:%20minor","name":"P: minor","color":"dcffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T17:29:05Z","updated_at":"2015-05-21T17:29:05Z","closed_at":null,"body":"**Reported by dcthomp on 3 Jun 2008 15:19 UTC**\nI've made some changes to PROJ.4 to get it compiling without\r\nany warnings even setting CFLAGS=\"-W -Wall\". I've attached a\r\npatch.\r\n\r\nMost of the changes are straightforward, a few are tedious, and\r\none of the warnings appears to actually point to a bug. Specifically,\r\nin src/PJ_imw_p.c it looks like the argument \"double* yc\" is\r\nshadowed by a local variable below and thus never used. The patch\r\nincludes what I believe to be a fix, but it would be nice if someone\r\nreviewed it.\r\n\r\nThe only other real problem I had was with the declaration and\r\ninitialization of \"static char EMESS_H_ID[]\" inside src/emess.h.\r\nSince this header file is included multiple times it results in\r\nEMESS_H_ID being instantiated in multiple object files. I removed\r\nthe variable since it doesn't appear to be used.\r\n\n\nMigrated-From: https://trac.osgeo.org/proj/ticket/4"}}