4747
4848using namespace Firebird ;
4949
50- const int array_desc_column_major = 1 ; // Set for FORTRAN
50+ constexpr int array_desc_column_major = 1 ; // Set for FORTRAN
5151
5252struct gen_t
5353{
@@ -59,9 +59,9 @@ struct gen_t
5959};
6060
6161
62- static void adjust_length (ISC_ARRAY_DESC*);
63- static void copy_exact_name (const char *, char *, SSHORT);
64- static ISC_STATUS error (ISC_STATUS* status, const Arg::StatusVector& v);
62+ static void adjust_length (ISC_ARRAY_DESC*) noexcept ;
63+ static void copy_exact_name (const char *, char *, SSHORT) noexcept ;
64+ static ISC_STATUS error (ISC_STATUS* status, const Arg::StatusVector& v) noexcept ;
6565static ISC_STATUS gen_sdl (ISC_STATUS*, const ISC_ARRAY_DESC*, SSHORT*, UCHAR**, SSHORT*, bool );
6666static ISC_STATUS stuff_args (gen_t *, SSHORT, ...);
6767static ISC_STATUS stuff_literal (gen_t *, SLONG);
@@ -459,7 +459,7 @@ ISC_STATUS API_ROUTINE isc_array_set_desc(ISC_STATUS* status,
459459}
460460
461461
462- static void adjust_length (ISC_ARRAY_DESC*)
462+ static void adjust_length (ISC_ARRAY_DESC*) noexcept
463463{
464464/* *************************************
465465 *
@@ -474,7 +474,7 @@ static void adjust_length(ISC_ARRAY_DESC*)
474474}
475475
476476
477- static void copy_exact_name (const char * from, char * to, SSHORT bsize)
477+ static void copy_exact_name (const char * from, char * to, SSHORT bsize) noexcept
478478{
479479/* *************************************
480480 *
@@ -499,7 +499,7 @@ static void copy_exact_name (const char* from, char* to, SSHORT bsize)
499499}
500500
501501
502- static ISC_STATUS error (ISC_STATUS* status, const Arg::StatusVector& v)
502+ static ISC_STATUS error (ISC_STATUS* status, const Arg::StatusVector& v) noexcept
503503{
504504/* *************************************
505505 *
@@ -693,7 +693,7 @@ static ISC_STATUS stuff_literal(gen_t* gen, SLONG literal)
693693 * Stuff an SDL literal.
694694 *
695695 **************************************/
696- ISC_STATUS* status = gen->gen_status ;
696+ const ISC_STATUS* status = gen->gen_status ;
697697
698698 if (literal >= -128 && literal <= 127 )
699699 return stuff_args (gen, 2 , isc_sdl_tiny_integer, literal);
@@ -722,7 +722,7 @@ static ISC_STATUS stuff_string(gen_t* gen, UCHAR sdl, const SCHAR* string)
722722 * Stuff a "thing" then a counted string.
723723 *
724724 **************************************/
725- ISC_STATUS* status = gen->gen_status ;
725+ const ISC_STATUS* status = gen->gen_status ;
726726
727727 if (stuff_sdl (gen, sdl))
728728 return status[1 ];
0 commit comments