13 Commits

Author SHA1 Message Date
fed1586a65 Silence GCC warning
Signed-off-by: Simon Rozman <simon@rozman.si>
2023-09-15 15:25:09 +02:00
7098d64500 Remove excessive constant declarations
When all .cc files are #included from a single master C++ file,
repetitive constant definitions - although the constant value remains
the same - makes MSVC error out.

Besides, it is not a good practice to redefine same constant over and
over again. It defies the main idea of constants: "define once, use
many times".
2023-05-25 12:03:48 +02:00
Jason Riesa
84b58a5d76 Fixed #37: Removes unused variable ScriptScanner::next_byte_limit_ 2015-07-28 08:55:54 -07:00
dsites@google.com
54479ccc2c This possibly avoids a crash on &bogus-entity input
git-svn-id: https://cld2.googlecode.com/svn/trunk@171 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-27 17:40:33 +00:00
dsites@google.com
5f505ac67a This possibly avoids a crash on no-letters input
git-svn-id: https://cld2.googlecode.com/svn/trunk@170 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-24 23:50:00 +00:00
hajimehoshi@google.com
c9f9d40322 Fix MSVC "value may be truncated" warnings. (by pkasting@)
git-svn-id: https://cld2.googlecode.com/svn/trunk@168 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-09-17 07:11:37 +00:00
dsites@google.com
0c5e9e7cd4 Fix comments, remove redundant test
git-svn-id: https://cld2.googlecode.com/svn/trunk@90 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-01-29 23:55:04 +00:00
dsites@google.com
b5ea6727b6 Remove unused sys/time.h, remove snprintf, add casts for sign/unsigned complaints, all Visual C++
git-svn-id: https://cld2.googlecode.com/svn/trunk@78 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-09-08 00:38:49 +00:00
dsites@google.com
622f0da9cb Add missing test for off the end
git-svn-id: https://cld2.googlecode.com/svn/trunk@74 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-08-25 17:14:42 +00:00
dsites@google.com
dfbaac9bcc Add missing test for off the end
git-svn-id: https://cld2.googlecode.com/svn/trunk@72 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-08-24 19:04:42 +00:00
dsites@google.com
aab8972294 Add brackets to some IFs
git-svn-id: https://cld2.googlecode.com/svn/trunk@28 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-07-28 17:34:13 +00:00
dsites@google.com
a99a20311a Add return 0 in hex_digit_to_int
git-svn-id: https://cld2.googlecode.com/svn/trunk@6 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-07-02 22:58:59 +00:00
dsites@google.com
af2750714b Initial CLD2 source upload.
git-svn-id: https://cld2.googlecode.com/svn/trunk@3 b252ecd4-b096-bf77-eb8e-91563289f87e
2013-06-24 23:52:45 +00:00