diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-07 11:21:29 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-07 11:21:29 +0000 |
commit | f5df47822a9b069b4d7a24dd025c8f27786c45fa (patch) | |
tree | c04ed3cda48b415c7948a939a3368d2c322da5dd /t | |
parent | 10a3d64ebfb9fbd83a25907c9ad1c5709db66e15 (diff) | |
download | perl-f5df47822a9b069b4d7a24dd025c8f27786c45fa.tar.gz |
Let's remove the grep in void context warning.
p4raw-id: //depot/perl@32888
Diffstat (limited to 't')
-rw-r--r-- | t/lib/warnings/op | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op index c201a02416..f0a6e62a5e 100644 --- a/t/lib/warnings/op +++ b/t/lib/warnings/op @@ -211,7 +211,6 @@ eval { getgrgid 1 }; # OP_GGRGID eval { getpwnam 1 }; # OP_GPWNAM eval { getpwuid 1 }; # OP_GPWUID prototype "foo"; # OP_PROTOTYPE -grep /42/, (1,2); # OP_GREP $a ~~ $b; # OP_SMARTMATCH $a <=> $b; # OP_NCMP EXPECT @@ -253,9 +252,8 @@ Useless use of getgrgid in void context at - line 51. Useless use of getpwnam in void context at - line 52. Useless use of getpwuid in void context at - line 53. Useless use of subroutine prototype in void context at - line 54. -Useless use of grep in void context at - line 55. -Useless use of smart match in void context at - line 56. -Useless use of numeric comparison (<=>) in void context at - line 57. +Useless use of smart match in void context at - line 55. +Useless use of numeric comparison (<=>) in void context at - line 56. ######## # op.c use warnings 'void' ; close STDIN ; |