Most voted "warnings" questions
22 questions
Sort by count of
-
8
votes2
answers576
viewsNotice: "Possible Multiple enumeration of Ienumerable"
I was doing some operations where I use collections. In one of these I needed to take a break (range) of numbers and I did the following: var range = Enumerable.Range(0, 4); And then I tried to do…
-
6
votes4
answers931
viewsHow to verify variables that are not used?
Is there any way to verify which variables are not used within the scope one-class? As in the example below, the variables teste1 and teste4 has no utility within the application, as could locate…
-
5
votes1
answer426
viewsWarning compared between floats how to proceed
In an exercise I did, you are asked to make a compound interest calculation with for for the values of 5%, 6%, 7%, 8%, 9%, and 10%. As I could not use a check per counter being the counter a type…
-
4
votes1
answer2263
viewsWhat is the purpose of contentDescription?
I have in my application I have several Warning's as stated below: [Accessibility] Missing contentDescription attribute on image Imagery I did some research and found that it’s about the…
-
4
votes1
answer127
viewsWhy the compiler alerts me Anonymous new Runnable() can be replaced with lambda
Because that code (Thread) shows this message (on the compiler), and how to make it not show more? Code: public void onCreate(Bundle icicle) { ... mVideoView.setOnPreparedListener(new…
-
3
votes1
answer1632
viewsWarning: array_filter() expects at Most 2 Parameters, 3 Given
I have the following code that was taken from example #3 in the PHP documentation for the function array_filter(): $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4);…
-
3
votes2
answers237
viewsWhat is the purpose of baselineAligned?
In the act of developing an application, I came across the following Warning: Set android:baselineAligned="false" on this element for Better performance What purpose of baselineAligned? When should…
-
2
votes1
answer50
viewsAlert Resharper Access to modified closure
Implicitly captured closures or Access to modified closure It is a kind of warning that the Resharper shows in the code below, I would like to better understand this type of alert and what kind of…
-
1
votes0
answers46
viewsProblem with header
I had this code running on my PC’s localhost but when I put it on the server it no longer runs. When I call the function verificaLoginAdmin() he always returns: Warning: Cannot Modify header…
-
1
votes1
answer73
viewsHave I enabled a PHP extension and a Warning appears?
I enabled the extension php_oci8_11g.dll but I get the following warning. PHP Warning: PHP Startup: Unable to load Dynamic library 'C: php ext php_oci8_11g.dll' - %1. I’ve reinstalled the PHP…
-
1
votes1
answer2137
viewsFunction returning Warning open_basedir Restriction in Effect. File
I have a PHP function that checks if I have new requests on the system. if you have with the return in ajax I display a notification toas displayed the order number. PHP function checkNovoPedido.php…
-
1
votes1
answer1916
viewsWarning: initialization makes integer from Pointer without a cast [-Wint-Conversion]
I have the following C code that connects to a mysql database and performs a query: #include <mysql.h> #include <stdio.h> int main(void){ MYSQL Connection; MYSQL_RES *res; MYSQL_ROW row;…
-
1
votes1
answer3977
viewsWarning: assignment makes Pointer from integer without a cast
I did some research, but I don’t quite understand what that means and what it says about my code. I have that function cria_palavra which returns a pointer, there in the main, when I will receive…
-
1
votes1
answer198
viewsWarning looping Python Pandas, How to make the looping differently?
Guys I’m doing this looping here: for i in range(1, len(candles)): if candles['askclose'][i]> candles['askopen'][i]: candles['Fechamento'][i]= 'alta' But the jupyternotebook always returns me…
-
1
votes2
answers2648
viewsCreating a simple database with NOT EXISTS
Every time I create a DER(Entity-Relationship Diagram) in a database, and then type this diagram in the Entity-Relationship Model, to scan the created diagram and also to perform the insertion of…
-
0
votes1
answer152
viewsMeaning of Warning: Possible overdraw
I have an app that shows Warning: Possible overdraw: Root element Paints background @color/md_elegance_green with a Theme that also Paints a background (inferred Theme is…
-
0
votes0
answers15
viewsPHP Warning error: Cannot Modify header information - headers already sent by, but to delete the page cookie after displaying it
I know there are already questions about this mistake, but I need some help because I can’t solve it, even with the information about the error. I am making a website that sets a cookie to show an…
-
0
votes1
answer85
viewsHow do I change the title name via i18next in the Active Act browsers?
I’m having a problem changing the name of tabBarLabel of createMaterialBottomTabNavigator by means of the i18next, because the routes are neither functions nor component, so I did it by this mode,…
-
0
votes0
answers26
viewsProblems in a stack whose positions should be selected? ( Warning: implicit declaration and Warning: Pointer from integer)
Hello, today I bring here a question related to data structures that surely can add in the understanding of all envovilido. It is a matter of pile manipulation where through the act of traversing…
-
-1
votes1
answer519
viewsInvalid argument supplied for foreach()
I get this mistake: Warning (2): Invalid argument supplied for foreach() [CORE Cake Utility Validation.php, line 490] using the admin_upload_image action from my Galleries controller. But this…
-
-1
votes1
answer17
viewsPHP Selenium chromedriver logs out after logging in with no apparent error;
When finishing the login data input via Selenium the robot clicks login, the session is dropped at different points, sometimes before entering the registration screen, sometimes after login and…
-
-1
votes1
answer95
viewsJava in Eclipse: displaying many warnings
I’m starting to study Java using the Eclipse IDE, which has helped me a lot at this beginning in creating classes and screens. Would you like to know if it is normal for it to be displaying many…