mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Fixed compiler warning
SVN revision: 1571
This commit is contained in:
parent
123822af05
commit
7f743e33b8
@ -11176,7 +11176,7 @@ void show_new_user_page(LOGBOOK * lbs)
|
|||||||
|
|
||||||
void show_elog_delete(LOGBOOK * lbs, int message_id)
|
void show_elog_delete(LOGBOOK * lbs, int message_id)
|
||||||
{
|
{
|
||||||
int i, status, reply, next, nsel;
|
int i, status, reply=0, next, nsel;
|
||||||
char str[256], in_reply_to[80], reply_to[MAX_REPLY_TO * 10], owner[256];
|
char str[256], in_reply_to[80], reply_to[MAX_REPLY_TO * 10], owner[256];
|
||||||
char attrib[MAX_N_ATTR][NAME_LENGTH];
|
char attrib[MAX_N_ATTR][NAME_LENGTH];
|
||||||
|
|
||||||
@ -11214,7 +11214,7 @@ void show_elog_delete(LOGBOOK * lbs, int message_id)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isparam("nsel")) {
|
if (isparam("nsel")) {
|
||||||
for (i = reply = 0; i < atoi(getparam("nsel")); i++) {
|
for (i = 0; i < atoi(getparam("nsel")); i++) {
|
||||||
sprintf(str, "s%d", i);
|
sprintf(str, "s%d", i);
|
||||||
if (isparam(str))
|
if (isparam(str))
|
||||||
status = el_delete_message(lbs, atoi(getparam(str)), TRUE, NULL, TRUE, TRUE);
|
status = el_delete_message(lbs, atoi(getparam(str)), TRUE, NULL, TRUE, TRUE);
|
||||||
@ -11280,7 +11280,8 @@ void show_elog_delete(LOGBOOK * lbs, int message_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isparam("nsel")) {
|
if (isparam("nsel")) {
|
||||||
for (i = reply = 0; i < atoi(getparam("nsel")); i++) {
|
reply = FALSE;
|
||||||
|
for (i = 0; i < atoi(getparam("nsel")); i++) {
|
||||||
sprintf(str, "s%d", i);
|
sprintf(str, "s%d", i);
|
||||||
if (isparam(str)) {
|
if (isparam(str)) {
|
||||||
rsprintf("#%s ", getparam(str));
|
rsprintf("#%s ", getparam(str));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user