--- freem/src/transact.c 2025/03/24 04:13:12 1.6 +++ freem/src/transact.c 2025/04/10 01:24:39 1.8 @@ -1,5 +1,5 @@ /* - * $Id: transact.c,v 1.6 2025/03/24 04:13:12 snw Exp $ + * $Id: transact.c,v 1.8 2025/04/10 01:24:39 snw Exp $ * FreeM transaction processing support * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: transact.c,v $ + * Revision 1.8 2025/04/10 01:24:39 snw + * Remove C++ style comments + * + * Revision 1.7 2025/04/09 19:52:02 snw + * Eliminate as many warnings as possible while building with -Wall + * * Revision 1.6 2025/03/24 04:13:12 snw * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 * @@ -77,7 +83,6 @@ tp_transaction transactions[TP_MAX_NEST] void tp_init(void) { union semun arg; - char err[255]; key_t tp_sk; tp_sk = ftok (config_file, 4); @@ -385,7 +390,6 @@ int tp_trollback(int levels) register int i; register int j; -// for (i = 0; i < levels; i++) { for (i = tp_level; i >= (((tp_level - levels) >= 0) ? tp_level - levels : 0); i--) { for (j = 1; j <= transactions[i].opcount; j++) {