Results 1 to 3 of 3

Thread: Variables without using, the most interesting.

  1. #1

    Default Variables without using, the most interesting.

    Hello.
    I would like to note some variables that are not being used.
    There are many but these are what I found so far.
    The problem is that I have no answers to correct them.

    datetime.cpp#L676
    The line 652 maybe indicating how to use.

    png_loader.cpp#L391

    x11_window.cpp#L1180

    dom_named_node_map.cpp#L252
    Later only: last_index = cur_index; but not more.

    big_int_impl.cpp#L676
    Line 711 too.

    I will be looking so grows the list

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    It should be safe to remove all of them.


    To be pedantic

    Code:
    void BigInt_Impl::set(ubyte64 d)
    {
    	zero();
    	ubyte32 d_low = d;
    	ubyte32 d_high = d>>32;
    
    	if (d_high)
    	{
    		internal_pad(2);
    		digits[1] = d_high;
    	}
    
    	digits[0] = d;
    }
    "digits[0] = d;" could be changed to "digits[0] = d_low;"

  3. #3

    Default

    Ok, thanks.

    One more:
    css_border_renderer.cpp#L102
    From 102 to 109 unused.

Similar Threads

  1. Anything interesting
    By PewDie in forum RTsoft Tavern
    Replies: 1
    Last Post: 05-25-2013, 12:35 AM
  2. hm...how i could make it interesting?
    By david k. in forum World Showcase
    Replies: 0
    Last Post: 05-22-2013, 06:56 PM
  3. Global variables resetting themselves?
    By Pleng in forum Novashell Game Creation System
    Replies: 4
    Last Post: 10-13-2009, 01:50 PM
  4. Dink Engine variables get confused
    By in forum Dink Smallwood HD
    Replies: 1
    Last Post: 11-11-2002, 09:17 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •