Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #347927

Re: Peter Kohlmann has brain damage, I think.

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy, sci.physics, alt.free.newsservers, news.software.readers
Subject Re: Peter Kohlmann has brain damage, I think.
Date 2016-03-28 23:32 +0000
Organization O.W.L.
Message-ID <ghnvmuc3.arae@rooftop.invalid> (permalink)
References (2 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> <Jeff-Relf.Me@Mar.28{3.53P.Seattle.2016}>

Cross-posted to 4 groups.

Show all headers | View raw


In comp.os.linux.advocacy Jeff-Relf.Me <@.> wrote:
> You (PeterKöhlmann) wrote:
>> It is *never* a good idea to use unreferenced variables, 
>                                ^^^
> Again, an "unreferenced variable" ( warning C4101 ) 
> is a variable that's declared but NOT USED.
> 
> Declaring a variable, or even a bunch of variables,
> then not using them, perhaps because you've temporarily
> commented out some code, is NEVER a problem.
> 
> You've never made any sense Pete, not once,
> not in all your decades of posting here.
> Honestly, I think you have brain damage.

anon@lowtide:~/code$ gcc -Wall -o warn1 warn1.c
anon@lowtide:~/code$ gcc -Wall -o warn2 warn2.c
warn2.c: In function ‘blah’:
warn2.c:19:6: warning: unused variable ‘x’ [-Wunused-variable]
  int x=4;
      ^
anon@lowtide:~/code$ ./warn1
x: 0
y: 4
sum: 4
anon@lowtide:~/code$ ./warn2
x: 0
y: 0
sum: 0
anon@lowtide:~/code$ 

anon@lowtide:~/code$ diff -u warn1.c warn2.c
--- warn1.c	2016-03-28 19:25:07.362314096 -0400
+++ warn2.c	2016-03-28 19:25:29.474314499 -0400
@@ -17,6 +17,6 @@
 void blah(void)
 {
  int x=4;
- y=x;
+/* y=x; */
 }
 
anon@lowtide:~/code$ 

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


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