Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #347921
| From | Peter Köhlmann <peter-koehlmann@t-online.de> |
|---|---|
| Newsgroups | comp.os.linux.advocacy, sci.physics, alt.free.newsservers, news.software.readers |
| Subject | Re: How could defining a variable, and not using it, be a problem ? |
| Date | 2016-03-29 00:50 +0200 |
| Organization | DNLA GmbH |
| Message-ID | <ndcc9d$aq2$1@dont-email.me> (permalink) |
| References | (4 earlier) <Jeff-Relf.Me@Mar.28{6.17A.Seattle.2016}> <ndc87p$nuh$2@dont-email.me> <Jeff-Relf.Me@Mar.28{2.52P.Seattle.2016}> <ndcaqc$684$1@dont-email.me> <ndcbc3$6od$2@dont-email.me> |
Cross-posted to 4 groups.
Chris Ahlstrom wrote: > Peter Köhlmann wrote this copyrighted missive and expects royalties: > >> It is *never* a good idea to use unreferenced variables, and I remove >> them always instead of masking the warning > > Unfortunately, many "programmers" suffer from a lack of the necessary > attention to details. > I never accept a compiler warning by just "ignoring" it. The compiler issues warnings for a reason, and I have to be absolutely certain that it is the compile which is wrong. It extremely rarely is. Most of the time there is some problem in the code. In may current project (nearly 200.000 lines of (real) source code (comments not counted) I have exactly one occurence of compiler warning (and then for the current linux GCC only, not for the windows one and also not for the OSX compiler) where I get a warning which could be ignored. Better is to simply rewrite the code in a fashion where the compiler does not warn, because it was ambiguish from the start Since I compile my program for linux, windows and OSX (from the same source) I get different kinds of warnings, depending on environment. And I aspire to remove warnings for all of them, not just for the substandard windows compiler It takes the Relf idiots of this world to assume that they know better
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I like taking cock up my ass "7" <idiot@enemygadgets.com> - 2016-03-27 01:51 +0100
Re: I like taking cock up my ass Fabian Russell <fb@zen.info> - 2016-03-27 15:31 +0000
Re: I like taking cock up my ass Takuya Saitoh <taka0038@gmail.com> - 2016-03-27 09:01 -0700
Eternal-September Motzarella Aioe Dizum Albasani Jeff-Relf.Me <@.> - 2016-03-27 09:21 -0700
Re: Eternal-September Motzarella Aioe Dizum Albasani Nobody <nobody@nowhere.net> - 2016-03-27 12:25 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani DFS <nospam@dfs.com> - 2016-03-27 12:31 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani Nobody <nobody@nowhere.net> - 2016-03-27 12:39 -0400
Eternal-September Motzarella Aioe Dizum Albasani Jeff-Relf.Me <@.> - 2016-03-27 09:51 -0700
Re: Eternal-September Motzarella Aioe Dizum Albasani DFS <nospam@dfs.com> - 2016-03-27 13:04 -0400
Usenet, eMail, CraigsList, WikiPedia, etc. allow <PRE>. Jeff-Relf.Me <@.> - 2016-03-27 10:13 -0700
Re: Usenet, eMail, CraigsList, WikiPedia, etc. allow <PRE>. vallor <vallor@cultnix.org> - 2016-03-27 18:50 +0000
Re: Usenet, eMail, CraigsList, WikiPedia, etc. allow <PRE>. benj <none@gmail.com> - 2016-03-28 00:55 -0400
Re: Usenet, eMail, CraigsList, WikiPedia, etc. allow <PRE>. jimp@specsol.spam.sux.com - 2016-03-28 05:57 +0000
Re: Eternal-September Motzarella Aioe Dizum Albasani tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-03-27 19:53 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani chrisv <chrisv@nospam.invalid> - 2016-03-28 07:23 -0500
Re: Eternal-September Motzarella Aioe Dizum Albasani Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-28 01:59 +0200
Re: Eternal-September Motzarella Aioe Dizum Albasani chrisv <chrisv@nospam.invalid> - 2016-03-28 07:44 -0500
My code only does what _I_ want, not what "you" want. Jeff-Relf.Me <@.> - 2016-03-28 06:15 -0700
My code only does what _I_ want, not what "you" want. Jeff-Relf.Me <@.> - 2016-03-28 06:17 -0700
Re: My code only does what _I_ want, not what "you" want. owl <owl@rooftop.invalid> - 2016-03-28 19:33 +0000
Re: My code only does what _I_ want, not what "you" want. Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-28 23:41 +0200
How could defining a variable, and not using it, be a problem ? Jeff-Relf.Me <@.> - 2016-03-28 14:52 -0700
Re: How could defining a variable, and not using it, be a problem ? Somebody <somebody@nowhere.net> - 2016-03-28 18:01 -0400
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 00:25 +0200
Re: How could defining a variable, and not using it, be a problem ? Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-03-28 18:30 -0400
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 00:50 +0200
Re: How could defining a variable, and not using it, be a problem ? Somebody <somebody@nowhere.net> - 2016-03-28 18:54 -0400
Re: How could defining a variable, and not using it, be a problem ? Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-03-28 21:11 -0400
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 15:38 +0200
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-29 10:09 -0400
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 19:54 +0200
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-29 14:51 -0400
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 22:04 +0200
Re: How could defining a variable, and not using it, be a problem ? owl <owl@rooftop.invalid> - 2016-03-29 20:30 +0000
Re: How could defining a variable, and not using it, be a problem ? Snit <usenet@gallopinginsanity.com> - 2016-03-29 13:59 -0700
Re: How could defining a variable, and not using it, be a problem ? Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 23:57 +0200
Re: How could defining a variable, and not using it, be a problem ? Snit <usenet@gallopinginsanity.com> - 2016-03-29 18:23 -0700
Re: How could defining a variable, and not using it, be a problem ? chrisv <chrisv@nospam.invalid> - 2016-03-29 16:50 -0500
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-29 19:23 -0400
Re: How could defining a variable, and not using it, be a problem ? owl <owl@rooftop.invalid> - 2016-03-30 00:42 +0000
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-30 10:52 -0400
Re: How could defining a variable, and not using it, be a problem ? owl <owl@rooftop.invalid> - 2016-03-30 16:26 +0000
Re: How could defining a variable, and not using it, be a problem ? Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-03-29 20:38 -0400
Re: How could defining a variable, and not using it, be a problem ? chrisv <chrisv@nospam.invalid> - 2016-03-30 06:59 -0500
Re: How could defining a variable, and not using it, be a problem ? Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-03-30 11:46 -0400
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-30 11:53 -0400
Re: How could defining a variable, and not using it, be a problem ? Snit <usenet@gallopinginsanity.com> - 2016-03-29 12:05 -0700
Re: How could defining a variable, and not using it, be a problem ? Snit <usenet@gallopinginsanity.com> - 2016-03-29 12:06 -0700
Re: How could defining a variable, and not using it, be a problem ? Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-03-28 21:10 -0400
Re: How could defining a variable, and not using it, be a problem ? DFS <nospam@dfs.com> - 2016-03-30 14:13 -0400
Peter Kohlmann has brain damage, I think. Jeff-Relf.Me <@.> - 2016-03-28 15:53 -0700
Re: Peter Kohlmann has brain damage, I think. owl <owl@rooftop.invalid> - 2016-03-28 23:32 +0000
Re: My code only does what _I_ want, not what "you" want. chrisv <chrisv@nospam.invalid> - 2016-03-29 07:24 -0500
Re: Eternal-September Motzarella Aioe Dizum Albasani DFS <nospam@dfs.com> - 2016-03-29 10:21 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-03-29 19:50 +0200
Re: Eternal-September Motzarella Aioe Dizum Albasani chrisv <chrisv@nospam.invalid> - 2016-03-29 13:12 -0500
*Spank* Dumfsck and Kreep chrisv <chrisv@nospam.invalid> - 2016-03-29 14:29 -0500
Re: *Spank* Dumfsck and Kreep owl <owl@rooftop.invalid> - 2016-03-29 19:36 +0000
Re: *Spank* Dumfsck and Kreep DFS <nospam@dfs.com> - 2016-03-29 15:42 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani DFS <nospam@dfs.com> - 2016-03-29 15:59 -0400
Re: Eternal-September Motzarella Aioe Dizum Albasani DFS <nospam@dfs.com> - 2016-03-30 10:51 -0400
Re: I like taking cock up my ass "Delgato" <delgato@gmail.com> - 2016-04-02 03:01 +0200
csiph-web