summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGerard Goossen <gerard@ggoossen.net>2009-11-06 16:02:22 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-11-06 16:14:52 +0100
commit805bf316c58ab2d7d321419711ea8b00d654c392 (patch)
tree222db64f5ad952806b67409a6402c59175eb0e99 /pp_sys.c
parentbc78644842f1135350b5fc2a51984c02385a59fe (diff)
downloadperl-805bf316c58ab2d7d321419711ea8b00d654c392.tar.gz
Add a "return NORMAL" to a DIE at the end of a function to prevent compiler warnings (the "return NORMAL"s are never reached).
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 8a82573520..ee033bc43f 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -643,6 +643,7 @@ badexit:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_func, "pipe");
+ return NORMAL;
#endif
}
@@ -1140,6 +1141,7 @@ PP(pp_sselect)
RETURN;
#else
DIE(aTHX_ "select not implemented");
+ return NORMAL;
#endif
}
@@ -2359,6 +2361,7 @@ PP(pp_flock)
RETURN;
#else
DIE(aTHX_ PL_no_func, "flock()");
+ return NORMAL;
#endif
}
@@ -2411,6 +2414,7 @@ PP(pp_socket)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "socket");
+ return NORMAL;
#endif
}
@@ -2472,6 +2476,7 @@ PP(pp_sockpair)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "socketpair");
+ return NORMAL;
#endif
}
@@ -2503,6 +2508,7 @@ nuts:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_sock_func, "bind");
+ return NORMAL;
#endif
}
@@ -2533,6 +2539,7 @@ nuts:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_sock_func, "connect");
+ return NORMAL;
#endif
}
@@ -2559,6 +2566,7 @@ nuts:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_sock_func, "listen");
+ return NORMAL;
#endif
}
@@ -2638,6 +2646,7 @@ badexit:
#else
DIE(aTHX_ PL_no_sock_func, "accept");
+ return NORMAL;
#endif
}
@@ -2662,6 +2671,7 @@ nuts:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_sock_func, "shutdown");
+ return NORMAL;
#endif
}
@@ -2739,6 +2749,7 @@ nuts2:
#else
DIE(aTHX_ PL_no_sock_func, PL_op_desc[PL_op->op_type]);
+ return NORMAL;
#endif
}
@@ -2803,6 +2814,7 @@ nuts2:
#else
DIE(aTHX_ PL_no_sock_func, PL_op_desc[PL_op->op_type]);
+ return NORMAL;
#endif
}
@@ -3557,6 +3569,7 @@ PP(pp_chroot)
RETURN;
#else
DIE(aTHX_ PL_no_func, "chroot");
+ return NORMAL;
#endif
}
@@ -3631,6 +3644,7 @@ PP(pp_link)
{
/* Have neither. */
DIE(aTHX_ PL_no_func, PL_op_desc[PL_op->op_type]);
+ return NORMAL;
}
#endif
@@ -3846,6 +3860,7 @@ nope:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_dir_func, "opendir");
+ return NORMAL;
#endif
}
@@ -3853,6 +3868,7 @@ PP(pp_readdir)
{
#if !defined(Direntry_t) || !defined(HAS_READDIR)
DIE(aTHX_ PL_no_dir_func, "readdir");
+ return NORMAL;
#else
#if !defined(I_DIRENT) && !defined(VMS)
Direntry_t *readdir (DIR *);
@@ -3931,6 +3947,7 @@ nope:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_dir_func, "telldir");
+ return NORMAL;
#endif
}
@@ -3956,6 +3973,7 @@ nope:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_dir_func, "seekdir");
+ return NORMAL;
#endif
}
@@ -3979,6 +3997,7 @@ nope:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_dir_func, "rewinddir");
+ return NORMAL;
#endif
}
@@ -4011,6 +4030,7 @@ nope:
RETPUSHUNDEF;
#else
DIE(aTHX_ PL_no_dir_func, "closedir");
+ return NORMAL;
#endif
}
@@ -4057,6 +4077,7 @@ PP(pp_fork)
RETURN;
# else
DIE(aTHX_ PL_no_func, "fork");
+ return NORMAL;
# endif
#endif
}
@@ -4086,6 +4107,7 @@ PP(pp_wait)
RETURN;
#else
DIE(aTHX_ PL_no_func, "wait");
+ return NORMAL;
#endif
}
@@ -4116,6 +4138,7 @@ PP(pp_waitpid)
RETURN;
#else
DIE(aTHX_ PL_no_func, "waitpid");
+ return NORMAL;
#endif
}
@@ -4321,6 +4344,7 @@ PP(pp_getppid)
RETURN;
#else
DIE(aTHX_ PL_no_func, "getppid");
+ return NORMAL;
#endif
}
@@ -4342,6 +4366,7 @@ PP(pp_getpgrp)
RETURN;
#else
DIE(aTHX_ PL_no_func, "getpgrp()");
+ return NORMAL;
#endif
}
@@ -4375,6 +4400,7 @@ PP(pp_setpgrp)
RETURN;
#else
DIE(aTHX_ PL_no_func, "setpgrp()");
+ return NORMAL;
#endif
}
@@ -4388,6 +4414,7 @@ PP(pp_getpriority)
RETURN;
#else
DIE(aTHX_ PL_no_func, "getpriority()");
+ return NORMAL;
#endif
}
@@ -4403,6 +4430,7 @@ PP(pp_setpriority)
RETURN;
#else
DIE(aTHX_ PL_no_func, "setpriority()");
+ return NORMAL;
#endif
}
@@ -4453,6 +4481,7 @@ PP(pp_tms)
RETURN;
# else
DIE(aTHX_ "times not implemented");
+ return NORMAL;
# endif
#endif /* HAS_TIMES */
}
@@ -4549,6 +4578,7 @@ PP(pp_alarm)
RETURN;
#else
DIE(aTHX_ PL_no_func, "alarm");
+ return NORMAL;
#endif
}
@@ -4618,6 +4648,7 @@ PP(pp_semget)
RETURN;
#else
DIE(aTHX_ "System V IPC is not implemented on this machine");
+ return NORMAL;
#endif
}
@@ -4753,6 +4784,7 @@ PP(pp_ghostent)
RETURN;
#else
DIE(aTHX_ PL_no_sock_func, "gethostent");
+ return NORMAL;
#endif
}
@@ -4826,6 +4858,7 @@ PP(pp_gnetent)
RETURN;
#else
DIE(aTHX_ PL_no_sock_func, "getnetent");
+ return NORMAL;
#endif
}
@@ -4886,6 +4919,7 @@ PP(pp_gprotoent)
RETURN;
#else
DIE(aTHX_ PL_no_sock_func, "getprotoent");
+ return NORMAL;
#endif
}
@@ -4961,6 +4995,7 @@ PP(pp_gservent)
RETURN;
#else
DIE(aTHX_ PL_no_sock_func, "getservent");
+ return NORMAL;
#endif
}
@@ -4972,6 +5007,7 @@ PP(pp_shostent)
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "sethostent");
+ return NORMAL;
#endif
}
@@ -4983,6 +5019,7 @@ PP(pp_snetent)
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setnetent");
+ return NORMAL;
#endif
}
@@ -4994,6 +5031,7 @@ PP(pp_sprotoent)
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setprotoent");
+ return NORMAL;
#endif
}
@@ -5005,6 +5043,7 @@ PP(pp_sservent)
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setservent");
+ return NORMAL;
#endif
}
@@ -5017,6 +5056,7 @@ PP(pp_ehostent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "endhostent");
+ return NORMAL;
#endif
}
@@ -5029,6 +5069,7 @@ PP(pp_enetent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "endnetent");
+ return NORMAL;
#endif
}
@@ -5041,6 +5082,7 @@ PP(pp_eprotoent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "endprotoent");
+ return NORMAL;
#endif
}
@@ -5053,6 +5095,7 @@ PP(pp_eservent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_sock_func, "endservent");
+ return NORMAL;
#endif
}
@@ -5286,6 +5329,7 @@ PP(pp_gpwent)
RETURN;
#else
DIE(aTHX_ PL_no_func, PL_op_desc[PL_op->op_type]);
+ return NORMAL;
#endif
}
@@ -5297,6 +5341,7 @@ PP(pp_spwent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_func, "setpwent");
+ return NORMAL;
#endif
}
@@ -5308,6 +5353,7 @@ PP(pp_epwent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_func, "endpwent");
+ return NORMAL;
#endif
}
@@ -5382,6 +5428,7 @@ PP(pp_ggrent)
RETURN;
#else
DIE(aTHX_ PL_no_func, PL_op_desc[PL_op->op_type]);
+ return NORMAL;
#endif
}
@@ -5393,6 +5440,7 @@ PP(pp_sgrent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_func, "setgrent");
+ return NORMAL;
#endif
}
@@ -5404,6 +5452,7 @@ PP(pp_egrent)
RETPUSHYES;
#else
DIE(aTHX_ PL_no_func, "endgrent");
+ return NORMAL;
#endif
}
@@ -5419,6 +5468,7 @@ PP(pp_getlogin)
RETURN;
#else
DIE(aTHX_ PL_no_func, "getlogin");
+ return NORMAL;
#endif
}
@@ -5517,6 +5567,7 @@ PP(pp_syscall)
RETURN;
#else
DIE(aTHX_ PL_no_func, "syscall");
+ return NORMAL;
#endif
}